aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install b/scripts/install
index 903416f..849a88e 100644
--- a/scripts/install
+++ b/scripts/install
@@ -169,7 +169,7 @@ MCOMMANDS
# Add Services
#pushd /var/cache/yunohost/from_file/mastodon_ynh-master/scripts
-popd
+pushd $(popd)
sudo cp ../conf/mastodon-web.service /etc/systemd/system/mastodon-web.service
sudo chown root: /etc/systemd/system/mastodon-web.service