This commit is contained in:
2024-08-07 11:02:41 +02:00
commit 6ef597701f
11 changed files with 96 additions and 0 deletions

1
DEBIAN/conffiles Normal file
View File

@@ -0,0 +1 @@
/etc/tupper.conf

6
DEBIAN/control Normal file
View File

@@ -0,0 +1,6 @@
Package: tupper
Version: 0.1
Maintainer: Martin "maride" Dessauer
Architecture: all
Depends: cron (>= 3.0), borgbackup (<< 2), sshfs (>= 3)
Description: Some drops of glue between SSHFS, Borg and cron

10
DEBIAN/postinst Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
if [ "$1" == "configure" ]; then
chown root:root /etc/tupper.conf
chmod 600 /etc/tupper.conf
chown root:root /etc/cron.daily/tupper
chmod 755 /etc/cron.daily/tupper
chown root:root /usr/sbin/tupper
chmod 755 /usr/sbin/tupper
fi

0
DEBIAN/postrm Executable file
View File

0
DEBIAN/preinst Executable file
View File

0
DEBIAN/prerm Executable file
View File