From 8b57785e75170c202cd562f13c94ac618d9f77fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Thu, 13 Feb 2020 15:28:26 +0100 Subject: [PATCH] remove old config first, befor setup new --- setup-myuser.sh | 3 +++ setup.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/setup-myuser.sh b/setup-myuser.sh index 7c242cf..45cebd8 100755 --- a/setup-myuser.sh +++ b/setup-myuser.sh @@ -1,5 +1,8 @@ #!/bin/sh +. uninstall.sh + +echo "Install workdirfs for users ${USER}" sudo cp workdirfs.py /usr/local/bin/workdirfs.py cp workdirfs.service ~/.config/systemd/user/workdirfs.service mkdir -pv ~/.config/systemd/user/default.target.wants/ diff --git a/setup.sh b/setup.sh index 9c58579..a45046f 100755 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,8 @@ #!/bin/sh +. ./uninstall.sh + +echo "Install workdirfs for all users" sudo cp workdirfs.py /usr/local/bin/workdirfs.py sudo cp workdirfs.service /etc/systemd/user/workdirfs.service sudo mkdir -pv /etc/systemd/user/default.target.wants/