iwm-overlay/net-misc/mysecureshell/files/mysecureshell-1.20-root-detection.patch

23 lines
580 B
Diff
Raw Normal View History

--- mysecureshell_1.20/install.sh.in.orig 2010-10-18 13:36:37.240389434 +0200
+++ mysecureshell_1.20/install.sh.in 2010-10-18 13:36:54.981660373 +0200
@@ -75,19 +75,6 @@
fi
fi
-## Root detection
-
-if [ "$USER" != "root" ] ; then
- echo ""
- echo "###################################################################"
- tmp=`MyGetLocale 'sorry'`
- echo " $tmp $USER"
- MyGetLocale 'Warning root ask'
- echo "###################################################################"
- echo ""
- exit 1
-fi
-
## Functions
detecfiles() {
fileufund=`MyGetLocale 'Existing file'`