mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Initial commit
This commit is contained in:
parent
43d17f2a96
commit
6f1df5fe9e
1 changed files with 16 additions and 0 deletions
16
installers/raspbian.sh
Normal file
16
installers/raspbian.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
UPDATE_URL="https://raw.githubusercontent.com/billz/raspap-webgui/master/"
|
||||
wget -q ${UPDATE_URL}/installers/common.sh -O /tmp/raspapcommon.sh
|
||||
source /tmp/raspapcommon.sh && rm -f /tmp/raspapcommon.sh
|
||||
|
||||
function update_system_packages() {
|
||||
install_log "Updating sources"
|
||||
sudo apt-get update || install_error "Couldn't update package list"
|
||||
sudo apt-get upgrade || install_error "Couldn't upgrade packages"
|
||||
}
|
||||
|
||||
function install_dependencies() {
|
||||
install_log "Installing required packages"
|
||||
sudo apt-get install lighttpd php5-cgi || install_error "Couldn't install dependencies"
|
||||
}
|
||||
|
||||
install_raspap
|
Loading…
Reference in a new issue