summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/22gnome_panel_data
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:22 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 14:46:22 +0200
commita7e62470dcdcd93501d9f54a96ca45d267ad1fe5 (patch)
treea0b23f27867323956e9383a0eb04aafce9e3d4d0 /scripts/casper-bottom/22gnome_panel_data
parent4a0b1ba4d428c623d14bae7f0db85c80abb0da0a (diff)
downloadlive-boot-a7e62470dcdcd93501d9f54a96ca45d267ad1fe5.tar.gz
live-boot-a7e62470dcdcd93501d9f54a96ca45d267ad1fe5.zip
Adding casper 1.61+debian-1.
Diffstat (limited to 'scripts/casper-bottom/22gnome_panel_data')
-rwxr-xr-xscripts/casper-bottom/22gnome_panel_data6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/casper-bottom/22gnome_panel_data b/scripts/casper-bottom/22gnome_panel_data
index 7bedd7a..b232c27 100755
--- a/scripts/casper-bottom/22gnome_panel_data
+++ b/scripts/casper-bottom/22gnome_panel_data
@@ -20,10 +20,8 @@ esac
log_begin_msg "$DESCRIPTION"
-if [ -x /root/usr/sbin/laptop-detect ]; then
- if chroot /root /bin/sh -c /usr/sbin/laptop-detect; then
- casper-reconfigure /root gnome-panel-data
- fi
+if chroot /root /bin/sh -c laptop-detect; then
+ casper-reconfigure /root gnome-panel-data
fi
panel_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gnome-panel-data 2>/dev/null) || panel_version=""