Added scripts for installation, build and publishing

This commit is contained in:
2016-11-13 12:25:30 +01:00
parent 39813cb355
commit d0d234a807
5 changed files with 48 additions and 9 deletions

18
run_install Normal 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 listdownloader*
if [ $? -ne 0 ]; then
echo 'Package installation failed. Did you build the package? Do you have pip3 installed?'
exit
fi