Final fixes for the first version

This commit is contained in:
2018-03-28 23:44:03 +02:00
parent 849bd5a6ec
commit d3861235db
13 changed files with 117 additions and 8 deletions

18
pip-install.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
#go to the directory of the script
reldir=`dirname $0`
cd $reldir
directory=`pwd`
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
pip3 install dist/samauth* --upgrade
if [ $? -ne 0 ]; then
echo 'Package installation failed. Did you build the package? Do you have pip3 installed?'
exit
fi