TISbackup/deb/postinst

13 lines
288 B
Plaintext
Raw Normal View History

2017-03-29 19:52:29 +02:00
#!/bin/bash
systemctl enable tisbackup_huey
systemctl enable tisbackup_gui
2017-03-29 20:00:10 +02:00
if [ ! -f /usr/bin/tisbackup ]; then
ln -s /opt/tisbackup/tisbackup.py /usr/bin/tisbackup
fi
if [ ! -f /etc/cron.d/tisbackup ]; then
cp /opt/tisbackup/samples/tisbackup.cron /etc/cron.d/tisbackup
fi