Mention when we run fakeroot.

This commit is contained in:
Wayne Davison
2005-03-18 02:10:34 +00:00
parent 648859bda2
commit bb21ecac5b
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ case `id -u` in
'') ;; # If "id" failed, try to continue...
0) ;;
*) if [ -f /usr/bin/fakeroot ]; then
echo "Let's try re-running the script under fakeroot..."
exec /usr/bin/fakeroot /bin/sh "$0"
fi
;;

View File

@@ -15,6 +15,7 @@ case `id -u` in
'') ;; # If "id" failed, try to continue...
0) ;;
*) if [ -f /usr/bin/fakeroot ]; then
echo "Let's try re-running the script under fakeroot..."
exec /usr/bin/fakeroot /bin/sh "$0"
fi
test_skipped "Rsync won't copy devices unless we're root"