From c80eb18e01b964bfa47e3d58830dba6368fee8e4 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Fri, 22 Jan 2016 00:33:07 +0000 Subject: [PATCH] quoted command in package scripts --- debian/fw-daemon-gnome.postinst | 2 +- debian/fw-daemon-gnome.prerm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/fw-daemon-gnome.postinst b/debian/fw-daemon-gnome.postinst index a2083a7..cf28590 100644 --- a/debian/fw-daemon-gnome.postinst +++ b/debian/fw-daemon-gnome.postinst @@ -4,7 +4,7 @@ set -e case $1 in configure) - su user -c gnome-extension-tool --enable-extension=firewall@subgraph.com + su user -c 'gnome-extension-tool --enable-extension=firewall@subgraph.com' || true ;; abort-upgrade|abort-remove|abort-deconfigure) ;; diff --git a/debian/fw-daemon-gnome.prerm b/debian/fw-daemon-gnome.prerm index d11aa4a..34adb9c 100644 --- a/debian/fw-daemon-gnome.prerm +++ b/debian/fw-daemon-gnome.prerm @@ -3,7 +3,7 @@ set -e if [ "$1" = "remove" ]; then - su user -c gnome-shell-extension-tool --disable-extension=firewall@subgraph.com + su user -c 'gnome-shell-extension-tool --disable-extension=firewall@subgraph.com' || true fi #DEBHELPER#