Fail early in gnome-panel-data bottom script if gnome-panel-data is not installed.
authorDaniel Baumann <daniel@debian.org>
Thu, 6 Aug 2009 18:30:27 +0000 (20:30 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:05 +0000 (17:48 +0100)
scripts/live-bottom/22gnome_panel_data

index bd0be26..9d2bb2f 100755 (executable)
@@ -20,7 +20,7 @@ esac
 
 # live-initramfs header
 
-if [ -n "${NOGNOMEPANEL}" ]
+if [ ! -e /root/var/lib/dpkg/info/gnome-panel-data.list ] || [ -n "${NOGNOMEPANEL}" ]
 then
        exit 0
 fi