From a1b772a2962bca64a2c7c5687a20e1f91afebee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Wed, 12 Feb 2020 18:42:39 +0100 Subject: [PATCH] fix wrong usage of sudo --- setup-myuser.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-myuser.sh b/setup-myuser.sh index 7576984..7c242cf 100755 --- a/setup-myuser.sh +++ b/setup-myuser.sh @@ -2,7 +2,7 @@ sudo cp workdirfs.py /usr/local/bin/workdirfs.py cp workdirfs.service ~/.config/systemd/user/workdirfs.service -sudo mkdir -pv ~/.config/systemd/user/default.target.wants/ -sudo ln -sf ../workdirfs.service ~/.config/systemd/user/default.target.wants/workdirfs.service +mkdir -pv ~/.config/systemd/user/default.target.wants/ +ln -sf ../workdirfs.service ~/.config/systemd/user/default.target.wants/workdirfs.service systemctl --user daemon-reload systemctl --user restart workdirfs.service