Commit d4b041f1 authored by Lucas Martins's avatar Lucas Martins

le-multiterminal: Refs #1153, Do not execute wizard on live-cd

Signed-off-by: 's avatarLucas Martins <lsm12@c3sl.ufpr.br>
parent b6294698
......@@ -24,7 +24,8 @@ markupFileDir=${HOME}/.userful
markupFile=${markupFileDir}/wizard_done
gksuMsg="Instalador do sistema multiterminal da Userful"
if test "$USER" = "admin" -a ! -f "$markupFile"; then
if ! (dpkg --get-selections "ubiquity-le" 2>/dev/null | grep -q 'install$')
&& test "$USER" = "admin" -a ! -f "$markupFile"; then
mkdir -p "$markupFileDir"
if gksudo --description="$gksuMsg" userful-setup-wizard; then
touch "$markupFile"
......
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