"Browse"-button on directory-selection dialogs
This commit is contained in:
parent
a1c5fbf7ea
commit
845b7e9c9a
4 changed files with 115 additions and 51 deletions
16
install.sh
16
install.sh
|
@ -1,14 +1,28 @@
|
|||
#!/bin/bash
|
||||
# """
|
||||
# project: Backuppy
|
||||
# version: 0.8
|
||||
# file: install.sh
|
||||
# summary: main entry shell script
|
||||
# """
|
||||
|
||||
# Check if graphical installer should be executed
|
||||
if [ "$1" == "--gui" ]; then
|
||||
# Check if PIP ist installed
|
||||
if ! command -v pip3> /dev/null
|
||||
then
|
||||
echo "Please install PIP on your system for the graphical version of Backuppy!"
|
||||
exit
|
||||
fi
|
||||
pip3 install pyside2
|
||||
# Check if PIP module "PySide2" is installed
|
||||
if ! pip list | grep PySide2> /dev/null
|
||||
then
|
||||
# Install PySide2
|
||||
pip3 install PySide2
|
||||
fi
|
||||
# Launch python installer in GUI mode
|
||||
python3 -B install.py "$1"
|
||||
else
|
||||
# Launch python installer in CLI mode
|
||||
python3 -B install.py
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue