From e26c39faaf9dfc9d554c85a4cd9ab93cbe88ebcc Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Mar 2017 18:31:12 +0200 Subject: [PATCH] added symlink for fast access to tisbackup script --- rpm/tis-tisbackup.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpm/tis-tisbackup.spec b/rpm/tis-tisbackup.spec index 2feb3a1..6762a22 100644 --- a/rpm/tis-tisbackup.spec +++ b/rpm/tis-tisbackup.spec @@ -32,9 +32,10 @@ mkdir -p %{buildroot}/etc/tis rsync --exclude="rpm" --exclude=".git" -aP ../../../tisbackup/ %{buildroot}/opt/tisbackup/ rsync -aP ../../../tisbackup/scripts/tisbackup_gui.service %{buildroot}/usr/lib/systemd/system/ rsync -aP ../../../tisbackup/scripts/tisbackup_huey.service %{buildroot}/usr/lib/systemd/system/ -rsync -aP ../../../tisbackup/samples/tisbackup.cron %{buildroot}/etc/cron.d/ +rsync -aP ../../../tisbackup/samples/tisbackup.cron %{buildroot}/etc/cron.d/tisbackup rsync -aP ../../../tisbackup/samples/tisbackup_gui.ini %{buildroot}/etc/tis rsync -aP ../../../tisbackup/samples/config.ini.sample %{buildroot}/etc/tis/tisbackup-config.ini.sample +ln -s /opt/tisbackup/tisbackup.py /usr/bin/tisbackup %files %defattr(-,root,root)