File: postinst

package info (click to toggle)
automysqlbackup 2.6%2Bdebian.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 120 kB
  • sloc: sh: 340; makefile: 46
file content (17 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

if [ -e /etc/default/automysqlbackup ] ; then
	. /etc/default/automysqlbackup
fi

if [ -z "${BACKUPDIR}" ] ; then
	BACKUPDIR=/var/lib/automysqlbackup
fi

if [ -d ${BACKUPDIR} ] ; then
	find ${BACKUPDIR} -type f -exec chmod 600 {} \;
fi

#DEBHELPER#