mirror of
https://github.com/helixarch/debtap
synced 2024-11-25 19:35:53 +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'
|
IFS=$'\n'
|
||||||
if [ -e preinst ] && [ -e postinst ]; then
|
if [ -e preinst ] && [ -e postinst ]; then
|
||||||
echo "pre_install() {" > tempfile
|
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
|
echo " $line" | sed s'/ / /g' >> tempfile
|
||||||
done
|
done
|
||||||
echo "}" >> tempfile
|
echo "}" >> tempfile
|
||||||
|
|
Loading…
Reference in New Issue
Block a user