remove deb rpm doc .git dir from released packages
This commit is contained in:
parent
f976e417e9
commit
23ec9e70ba
@ -15,7 +15,7 @@ mkdir -p ./builddir/usr/lib/systemd/system/
|
||||
mkdir -p ./builddir/etc/tis
|
||||
mkdir -p ./builddir/etc/cron.d/
|
||||
|
||||
rsync -aP --exclude="rpm" --exclude=".git" --exclude=deb ../ ./builddir/opt/tisbackup
|
||||
rsync -aP --exclude "deb/" --exclude "doc/" --exclude "rpm/" --exclude ".git" ../ ./builddir/opt/tisbackup
|
||||
rsync -aP ../scripts/tisbackup_gui.service ./builddir/usr/lib/systemd/system/
|
||||
rsync -aP ../scripts/tisbackup_huey.service ./builddir/usr/lib/systemd/system/
|
||||
rsync -aP ../samples/tisbackup.cron ./builddir/etc/cron.d/tisbackup
|
||||
|
@ -30,7 +30,7 @@ mkdir -p %{buildroot}/etc/cron.d/
|
||||
mkdir -p %{buildroot}/etc/tis
|
||||
mkdir -p %{buildroot}/usr/bin/
|
||||
|
||||
rsync --exclude="rpm" --exclude=".git" -aP ../../../tisbackup/ %{buildroot}/opt/tisbackup/
|
||||
rsync --exclude "deb/" --exclude "doc/" --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/tisbackup
|
||||
|
Loading…
Reference in New Issue
Block a user