mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-09 22:50:56 +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,11 +243,14 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# no argument but on graphical display: creation dialog
|
# no argument but on graphical display: creation dialog
|
||||||
|
if [ "$1" != "wizard" ]; then
|
||||||
if [ -z $DISPLAY ]; then
|
if [ -z $DISPLAY ]; then
|
||||||
echo "[!] tomb-open is a wrapper for the command 'tomb'"
|
echo "[!] tomb-open is a wrapper for the command 'tomb'"
|
||||||
|
echo "[!] type 'tomb-open wizard' if you want to be guided"
|
||||||
"${TOMBEXEC}" -h
|
"${TOMBEXEC}" -h
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# no arguments: start guided tomb creation
|
# no arguments: start guided tomb creation
|
||||||
tomb-notify
|
tomb-notify
|
||||||
|
Loading…
Reference in New Issue
Block a user