[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. 9586546d09dcb14f0839cef0092a667ea015f10f

Steffen Moeller moeller at debian.org
Mon Dec 7 15:54:33 UTC 2009


The following commit has been merged in the master branch:
commit 9586546d09dcb14f0839cef0092a667ea015f10f
Author: Steffen Moeller <moeller at debian.org>
Date:   Mon Dec 7 16:50:47 2009 +0100

    Fixed condition to copy rules.yaml

diff --git a/install.sh b/install.sh
index 621b696..99445f4 100755
--- a/install.sh
+++ b/install.sh
@@ -1193,7 +1193,7 @@ __END__
 	cat "$INST_DIR"/etc/frameworkd.conf.orig | sed -e 's/^idle_prelock.*/idle_prelock = 0/' -e 's/^lock.*/lock = 0/' > "$INST_DIR"/etc/frameworkd.conf
 
 	echo " * Allow screen unlock to work without shutting off (AUX pressed, followed by Power shortly pressed)"
-	if [ -r "$INST_DIR"/etc/freesmartphone/oevents/rules.yaml ]; then
+	if [ ! -r "$INST_DIR"/etc/freesmartphone/oevents/rules.yaml.orig ]; then
 		chroot "$INST_DIR" cp /etc/freesmartphone/oevents/rules.yaml /etc/freesmartphone/oevents/rules.yaml.orig
 	fi
 	cat "$INST_DIR"/etc/freesmartphone/oevents/rules.yaml.orig | sed -e '/Suspend Handling/,/Suspend\(\)/ d' > "$INST_DIR"/etc/freesmartphone/oevents/rules.yaml

-- 
Various non-packaged files



More information about the pkg-fso-commits mailing list