aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-11 16:08:02 +0200
committerGitHub <noreply@github.com>2017-04-11 16:08:02 +0200
commit90462283e75611d7638457ce4edcf89c3e48a326 (patch)
treef23597a74d8e5d9c5a8212a4f94fa9ad2263caa4
parent1fc09ad97ebb8221662f3526e015d67b52920796 (diff)
downloadmastodon_ynh-90462283e75611d7638457ce4edcf89c3e48a326.tar.gz
mastodon_ynh-90462283e75611d7638457ce4edcf89c3e48a326.tar.bz2
mastodon_ynh-90462283e75611d7638457ce4edcf89c3e48a326.zip
Use popd
-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