void-packages/srcpkgs/sudo/patches/install_perms.patch

32 lines
597 B
Diff
Raw Normal View History

2011-01-13 10:38:13 +01:00
--- install-sh.orig 2011-01-13 10:34:38.853561570 +0100
+++ install-sh 2011-01-13 10:35:04.468525074 +0100
@@ -91,7 +91,6 @@ while ${MORETODO} ; do
X-G)
GROUP="$2"
shift
- ${ROOT} && CHGROUPIT=true
;;
X-G*)
if ${ROOT} ; then
2011-01-13 10:38:13 +01:00
@@ -110,12 +109,10 @@ while ${MORETODO} ; do
;;
X-M)
MODE="$2"
- ${ROOT} && CHMODIT=true
shift
;;
X-M*)
2011-01-13 10:38:13 +01:00
MODE="`echo \"$1\" | sed 's/^..//'`"
- ${ROOT} && CHMODIT=true
;;
X-n)
TOUCHIT=false
2011-01-13 10:38:13 +01:00
@@ -132,7 +129,6 @@ while ${MORETODO} ; do
X-O)
OWNER="$2"
shift
- ${ROOT} && CHOWNIT=true
;;
X-O*)
if ${ROOT} ; then