remove old config first, befor setup new
This commit is contained in:
parent
5d61634255
commit
8b57785e75
2 changed files with 6 additions and 0 deletions
|
@ -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/
|
||||
|
|
3
setup.sh
3
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/
|
||||
|
|
Loading…
Reference in a new issue