mirror of
https://github.com/ParticulateFlow/LPP.git
synced 2025-12-08 06:37:46 +00:00
added different installation procedure
This commit is contained in:
22
install.sh
Executable file
22
install.sh
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
if test "`id -u`" -ne 0
|
||||
then
|
||||
echo "You need to run this script as root"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "checking for old installations..."
|
||||
if [[ -L /usr/bin/lpp ]]; then
|
||||
echo "you need to uninstall old lpp versions first."
|
||||
echo "you can do by so executing"
|
||||
echo "sudo rm /usr/bin/lpp /usr/bin/pizza"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "setting symbolic links..."
|
||||
ln -s $(pwd)/src/lpp.py /usr/bin/lpp
|
||||
|
||||
echo "checking installation..."
|
||||
echo "which lpp"
|
||||
echo $(which lpp)
|
||||
Reference in New Issue
Block a user