X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Flive-bottom%2F33enable_apport_crashes;h=f30065223d7d0cded4de0e0f49d24bd65dcefd6e;hb=1e0a488b895cd6e2bf7141aa730f17da42a490f7;hp=747ba26a2a48377eccef5f56ee80477dd53b6007;hpb=cb896241d0ec8eb2bba0cecd11de3500869176a6;p=live-boot-grml.git diff --git a/scripts/live-bottom/33enable_apport_crashes b/scripts/live-bottom/33enable_apport_crashes index 747ba26..f300652 100755 --- a/scripts/live-bottom/33enable_apport_crashes +++ b/scripts/live-bottom/33enable_apport_crashes @@ -33,9 +33,9 @@ log_begin_msg "Enabling notifications about program crashes..." update_notifier_version=$(chroot /root dpkg-query -W --showformat='${Version}' update-notifier 2>/dev/null) || update_notifier_version="" -if [ -n "$update_notifier_version" ] +if [ -n "${update_notifier_version}" ] then - chroot /root sudo -u "$USERNAME" gconftool-2 -t bool -s /apps/update-notifier/show_apport_crashes true + chroot /root sudo -u "${USERNAME}" gconftool-2 -t bool -s /apps/update-notifier/show_apport_crashes true fi log_end_msg