mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Rework condition (and remove the 'from_script' flag)
This commit is contained in:
parent
2a4713f785
commit
c0be9676e3
1 changed files with 22 additions and 25 deletions
|
@ -47,10 +47,10 @@ $LOGO
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
if [[ ! -f /etc/yunohost/installed ]]
|
if [[ -f /etc/yunohost/installed ]]
|
||||||
then
|
|
||||||
if [[ ! -f /etc/yunohost/from_script ]]
|
|
||||||
then
|
then
|
||||||
|
echo "$LOGO_AND_FINGERPRINTS" > /etc/issue
|
||||||
|
else
|
||||||
sleep 5
|
sleep 5
|
||||||
chvt 2
|
chvt 2
|
||||||
echo "$LOGO_AND_FINGERPRINTS"
|
echo "$LOGO_AND_FINGERPRINTS"
|
||||||
|
@ -72,6 +72,3 @@ then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
else # YunoHost is already post-installed
|
|
||||||
echo "$LOGO_AND_FINGERPRINTS" > /etc/issue
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue