From 220709b6984c63755b0a49b06c565db76c2c7cb7 Mon Sep 17 00:00:00 2001 From: billz Date: Sat, 9 Mar 2024 11:24:36 +0100 Subject: [PATCH] fix: mv api files /facepalm --- installers/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index 9cb11e5e..0ec18fbf 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -584,7 +584,7 @@ function _create_openvpn_scripts() { # Install and enable RestAPI configuration option function _install_restapi() { _install_log "Installing and enabling RestAPI" - sudo mv -r "$webroot_dir/api" "$raspap_dir/api" || _install_status 1 "Unable to move api folder" + sudo mv "$webroot_dir/api" "$raspap_dir/api" || _install_status 1 "Unable to move api folder" if ! command -v python3 &> /dev/null; then echo "Python is not installed. Installing Python..."