iwm-overlay/net-misc/mysecureshell/files/mysecureshell-1.20-root-detection.patch
Torsten Kurbad 8ae7c38c19 Added mysecureshell ebuild
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@14927 cbe59ace-07ea-0310-918e-868702b5370d
2010-10-18 12:30:21 +00:00

23 lines
580 B
Diff

--- 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'`