Enjolivement

This commit is contained in:
Alan Garcia 2013-02-18 18:23:06 +00:00
parent f23cd145d9
commit a90cd831a7
1 changed files with 7 additions and 0 deletions

View File

@ -259,12 +259,14 @@ EOF
chmod 0440 /etc/sudoers.d/alternc-sudoers chmod 0440 /etc/sudoers.d/alternc-sudoers
if ! grep -q '#includedir /etc/sudoers.d' "/etc/sudoers"; then if ! grep -q '#includedir /etc/sudoers.d' "/etc/sudoers"; then
echo "*************************************************" echo "*************************************************"
echo "* *"
echo "* /!\ WARNING /!\ *" echo "* /!\ WARNING /!\ *"
echo "* Please add yourself the following directive : *" echo "* Please add yourself the following directive : *"
echo "* #includedir /etc/sudoers.d *" echo "* #includedir /etc/sudoers.d *"
echo "* in file /etc/sudoers (use visudo command) *" echo "* in file /etc/sudoers (use visudo command) *"
echo "* Else you'll have troubles with some features *" echo "* Else you'll have troubles with some features *"
echo "* of AlternC *" echo "* of AlternC *"
echo "* *"
echo "*************************************************" echo "*************************************************"
fi fi
else else
@ -279,8 +281,13 @@ EOF
# instead of preinst, we launch it here : # instead of preinst, we launch it here :
/usr/lib/alternc/fixperms.sh /usr/lib/alternc/fixperms.sh
echo "**********************************************" echo "**********************************************"
echo "* *"
echo "* /!\ /!\ *"
echo "* ALTERNC: *" echo "* ALTERNC: *"
echo "* Please run alternc.install to fully deploy *" echo "* Please run alternc.install to fully deploy *"
echo "* *"
echo "* *"
echo "* *"
echo "**********************************************" echo "**********************************************"
;; ;;