diff options
| -rwxr-xr-x | scripts/postinst-intercepts/postinst_intercept | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/postinst-intercepts/postinst_intercept b/scripts/postinst-intercepts/postinst_intercept index a257198bbd..b18e806d43 100755 --- a/scripts/postinst-intercepts/postinst_intercept +++ b/scripts/postinst-intercepts/postinst_intercept | |||
| @@ -48,7 +48,7 @@ if [ -n "$pkgs_line" ]; then | |||
| 48 | sed -i -e "s/##PKGS:.*/\0${package_name} /" $intercept_script | 48 | sed -i -e "s/##PKGS:.*/\0${package_name} /" $intercept_script |
| 49 | fi | 49 | fi |
| 50 | else | 50 | else |
| 51 | for var in $@; do | 51 | for var in "$@"; do |
| 52 | sed -i -e "\%^#\!/bin/.*sh%a $var" $intercept_script | 52 | sed -i -e "\%^#\!/bin/.*sh%a $var" $intercept_script |
| 53 | done | 53 | done |
| 54 | echo "##PKGS: ${package_name} " >> $intercept_script | 54 | echo "##PKGS: ${package_name} " >> $intercept_script |
