remove old config first, befor setup new

This commit is contained in:
Jakobus Schürz 2020-02-13 15:28:26 +01:00
parent 5d61634255
commit 8b57785e75
2 changed files with 6 additions and 0 deletions

View file

@ -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/

View file

@ -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/