mirror of
https://github.com/helixarch/debtap
synced 2025-02-21 08:10:04 +01:00
Do not interpret backslashes when copying lines https://github.com/helixarch/debtap/issues/11
This commit is contained in:
parent
914978fb09
commit
32778791d4
2
debtap
2
debtap
@ -3515,7 +3515,7 @@ if [ -e preinst ] || [ -e postinst ] || [ -e prerm ] || [ -e postrm ]; then
|
||||
IFS=$'\n'
|
||||
if [ -e preinst ] && [ -e postinst ]; then
|
||||
echo "pre_install() {" > tempfile
|
||||
grep -iv '#!\|automatically\|added\|generated' preinst | while read line; do
|
||||
grep -iv '#!\|automatically\|added\|generated' preinst | while read -r line; do
|
||||
echo " $line" | sed s'/ / /g' >> tempfile
|
||||
done
|
||||
echo "}" >> tempfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user