aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/restore b/scripts/restore
index 84a3faf..d9b7e9e 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -95,6 +95,9 @@ sudo adduser $app --home /opt/$app --gecos "First Last,RoomNumber,WorkPhone,Home
# Install Yarn
ynh_package_install yarn
+ # Return to home
+ popd
+
# Restore sources & data
sudo cp -a ./sources/. "$final_path"