handle symlink better
This commit is contained in:
parent
aacd580f33
commit
b78108a119
@ -6,7 +6,7 @@ rm -Rf builddir
|
||||
mkdir builddir
|
||||
mkdir builddir/DEBIAN
|
||||
cp ./control ./builddir/DEBIAN
|
||||
cp ./files/postinst ./builddir/DEBIAN
|
||||
cp ./postinst ./builddir/DEBIAN
|
||||
|
||||
sed "s/VERSION/$VERSION/" -i ./builddir/DEBIAN/control
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
systemctl enable tisbackup_huey
|
||||
systemctl enable tisbackup_gui
|
||||
ln -s /opt/tisbackup/tisbackup.py /usr/bin/tisbackup
|
||||
|
||||
if [ ! -f /usr/bin/tisbackup ]; then
|
||||
ln -s /opt/tisbackup/tisbackup.py /usr/bin/tisbackup
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user