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)