X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F33enable_apport_crashes;h=f30065223d7d0cded4de0e0f49d24bd65dcefd6e;hb=f0d756e45675fbf829e8ee71ded7c42126dd43ab;hp=747ba26a2a48377eccef5f56ee80477dd53b6007;hpb=fdd8036ba32ad88e83a61191cc4597ae060355d2;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