mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-26 06:46:30 +00:00
make it possible to call tomb-open wizard when no X screen is present
This commit is contained in:
parent
16f0412817
commit
41738e7626
@ -243,10 +243,13 @@ fi
|
||||
|
||||
|
||||
# no argument but on graphical display: creation dialog
|
||||
if [ -z $DISPLAY ]; then
|
||||
echo "[!] tomb-open is a wrapper for the command 'tomb'"
|
||||
"${TOMBEXEC}" -h
|
||||
exit 1
|
||||
if [ "$1" != "wizard" ]; then
|
||||
if [ -z $DISPLAY ]; then
|
||||
echo "[!] tomb-open is a wrapper for the command 'tomb'"
|
||||
echo "[!] type 'tomb-open wizard' if you want to be guided"
|
||||
"${TOMBEXEC}" -h
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
# no arguments: start guided tomb creation
|
||||
|
Loading…
Reference in New Issue
Block a user