From d247f3fb9083caa8b4a60d48b303ab1ff1ef7c00 Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 24 Apr 2019 22:20:41 +0000 Subject: [PATCH] Updated download_latest_files() --- installers/common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installers/common.sh b/installers/common.sh index 66676c1a..70258c93 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -138,6 +138,10 @@ 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 mv $webroot_dir/dist/icons/* $webroot_dir || install_error "Unable to move icons to web root" } # Sets files ownership in web root directory @@ -229,10 +233,6 @@ function default_configuration() { sudo mv $webroot_dir/installers/raspap.service /lib/systemd/system/ || install_error "Unable to move raspap.service file" sudo systemctl enable raspap.service || install_error "Failed to enable raspap.service" fi - - # Move icons to webroot - echo -n "Installing high-res favicons" - sudo mv $webroot_dir/dist/icons/* $webroot_dir } # Add a single entry to the sudoers file