Init
This commit is contained in:
1
DEBIAN/conffiles
Normal file
1
DEBIAN/conffiles
Normal file
@@ -0,0 +1 @@
|
||||
/etc/tupper.conf
|
||||
6
DEBIAN/control
Normal file
6
DEBIAN/control
Normal 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
10
DEBIAN/postinst
Executable 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
0
DEBIAN/postrm
Executable file
0
DEBIAN/preinst
Executable file
0
DEBIAN/preinst
Executable file
0
DEBIAN/prerm
Executable file
0
DEBIAN/prerm
Executable file
Reference in New Issue
Block a user