favicons and sorts can stay in subdirectories

and be pointed to by proper meta tags.
do not copy these around during installation and poison the git tree.
This commit is contained in:
glaszig
2019-08-01 15:31:34 +02:00
parent 748348f407
commit 2104ccb91a
3 changed files with 3 additions and 7 deletions

View File

@@ -149,10 +149,6 @@ function download_latest_files() {
install_log "Cloning latest files from github"
git clone --depth 1 https://github.com/billz/raspap-webgui /tmp/raspap-webgui || install_error "Unable to download files from github"
sudo mv /tmp/raspap-webgui $webroot_dir || install_error "Unable to move raspap-webgui to web root"
# Move icons to webroot
echo -n "Installing high-res favicons"
sudo cp $webroot_dir/dist/icons/* $webroot_dir || install_error "Unable to move icons to web root"
}
# Sets files ownership in web root directory