2016-06-16 10:03:29 +00:00
|
|
|
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"
|
2019-07-08 19:49:38 +00:00
|
|
|
sudo apt-get update --allow-releaseinfo-change || install_error "Unable to update package list"
|
2016-06-16 10:03:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function install_dependencies() {
|
|
|
|
install_log "Installing required packages"
|
2018-09-13 23:07:23 +00:00
|
|
|
sudo apt-get install lighttpd $php_package git hostapd dnsmasq vnstat || install_error "Unable to install dependencies"
|
2016-06-16 10:03:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
install_raspap
|