mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Intial commit
This commit is contained in:
parent
bd4d7af732
commit
b041bd6eda
1 changed files with 3 additions and 3 deletions
|
@ -4,13 +4,13 @@ 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"
|
||||
sudo apt-get update || install_error "Unable to update package list"
|
||||
sudo apt-get upgrade || install_error "Unable to upgrade packages"
|
||||
}
|
||||
|
||||
function install_dependencies() {
|
||||
install_log "Installing required packages"
|
||||
sudo apt-get install lighttpd php5-cgi || install_error "Couldn't install dependencies"
|
||||
sudo apt-get install lighttpd php5-cgi git || install_error "Unable to install dependencies"
|
||||
}
|
||||
|
||||
install_raspap
|
||||
|
|
Loading…
Reference in a new issue