Commit b702adb8 authored by Diego Pasqualin's avatar Diego Pasqualin

le-multiterminal: Run userful-setup-wizard as root

Signed-off-by: 's avatarDiego Pasqualin <dpasqualin@c3sl.ufpr.br>
parent b99e67fa
......@@ -22,10 +22,11 @@
markupFileDir=${HOME}/.userful
markupFile=${markupFileDir}/wizard_done
gksuMsg="Instalador do sistema multiterminal da Userful"
if test "$USER" = "admin" -a ! -f "$markupFile"; then
mkdir -p "$markupFileDir"
if userful-setup-wizard; then
if gksudo --description="$gksuMsg" userful-setup-wizard; then
touch "$markupFile"
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment