Implemented option "--gui" for graphical installer
This commit is contained in:
parent
d4327b64db
commit
4bc87b9642
1 changed files with 95 additions and 88 deletions
11
install.sh
11
install.sh
|
@ -2,9 +2,14 @@
|
|||
|
||||
# Variables
|
||||
mydir=$PWD
|
||||
langDE="languages/german.py"
|
||||
langEN="languages/english.py"
|
||||
langDE="./languages/german.py"
|
||||
langEN="./languages/english.py"
|
||||
|
||||
# Check if graphical installer should be executed
|
||||
if [ "$1" == "--gui" ]; then
|
||||
python3 -B install.py
|
||||
exit 0
|
||||
else
|
||||
# Intro
|
||||
# language
|
||||
echo -e "Hello, first of all, which language do you prefer: German [DE] or English [EN]?"
|
||||
|
@ -98,3 +103,5 @@ echo "rsync -aqp --exclude-from=$mydir/exclude.txt $sourcedir $targetdir" >> Bac
|
|||
echo -e "$outro1"
|
||||
sleep 2
|
||||
echo "$outro2"
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue