From aacd580f33079d220be7506b147b286ea1adc9bc Mon Sep 17 00:00:00 2001 From: Denis Cardon Date: Wed, 29 Mar 2017 19:56:06 +0200 Subject: [PATCH] moved symlink creation to postinst --- deb/createdeb.sh | 1 - deb/postinst | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/deb/createdeb.sh b/deb/createdeb.sh index 03ed786..c54ec76 100755 --- a/deb/createdeb.sh +++ b/deb/createdeb.sh @@ -21,7 +21,6 @@ rsync -aP ../scripts/tisbackup_huey.service ./builddir/usr/lib/systemd/system/ rsync -aP ../samples/tisbackup.cron ./builddir/etc/cron.d/tisbackup rsync -aP ../samples/tisbackup_gui.ini ./builddir/etc/tis rsync -aP ../samples/tisbackup-config.ini.sample ./builddir/etc/tis/tisbackup-config.ini.sample -ln -s /opt/tisbackup/tisbackup.py ./builddir/usr/bin/tisbackup chmod 755 /opt/tisbackup/tisbackup.py diff --git a/deb/postinst b/deb/postinst index 8098723..37aebbb 100755 --- a/deb/postinst +++ b/deb/postinst @@ -1,4 +1,5 @@ #!/bin/bash systemctl enable tisbackup_huey systemctl enable tisbackup_gui +ln -s /opt/tisbackup/tisbackup.py /usr/bin/tisbackup