|
|
|
@ -2,6 +2,13 @@ UPDATE_URL="https://raw.githubusercontent.com/necro-nemesis/LabyrinthAP/master/"
|
|
|
|
|
wget -q ${UPDATE_URL}/installers/common.sh -O /tmp/raspapcommon.sh
|
|
|
|
|
source /tmp/raspapcommon.sh && rm -f /tmp/raspapcommon.sh
|
|
|
|
|
|
|
|
|
|
function test_root_user() {
|
|
|
|
|
if [ "$EUID" -ne 0 ]
|
|
|
|
|
then echo "Please run LabyrinthAP installer as root"
|
|
|
|
|
exit
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function update_system_packages() {
|
|
|
|
|
install_log "Updating sources"
|
|
|
|
|
sudo apt-get update || install_error "Unable to update package list"
|
|
|
|
|