1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/os-specific/linux/hibernate/install.patch
Ludovic Courtès 415a837c3d Add `hibernate', an swsusp/Tux-on-Ice convenience script.
svn path=/nixpkgs/trunk/; revision=11438
2008-04-01 14:02:54 +00:00

12 lines
541 B
Diff

--- hibernate-script-1.98.1/install.sh 2008-03-31 09:40:29.000000000 +0200
+++ hibernate-script-1.98.1/install.sh 2008-04-01 15:50:46.000000000 +0200
@@ -63,7 +63,7 @@ fi
cp -a blacklisted-modules $BLACKLIST
# Test if they have anything in there, and warn them
-if /bin/ls $OLD_SCRIPTLET_DIR/* > /dev/null 2>&1 ; then
+if ls $OLD_SCRIPTLET_DIR/* > /dev/null 2>&1 ; then
echo " **"
echo " ** You have scriptlets already installed in $OLD_SCRIPTLET_DIR"
echo " ** Since version 0.95, these have moved to $SCRIPTLET_DIR."