mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Refactored program
This commit is contained in:
parent
04429da930
commit
1fd0557099
3 changed files with 48 additions and 34 deletions
|
|
@ -48,3 +48,11 @@ else
|
|||
# BIOS firmware
|
||||
export CRYPTPARTITION=1
|
||||
fi # EFI firmware
|
||||
|
||||
# Void Linux only. Ignored in Ubuntu.
|
||||
# Detect the GUI environment
|
||||
if env | grep XDG_SESSION_TYPE > /dev/null ; then
|
||||
export GUIENV=1 # set 1 if GUI env.
|
||||
else
|
||||
export GUIENV=0 # set 0 if not GUI env.
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue