File: pacman-g2.hook

package info (click to toggle)
etckeeper 1.15
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 412 kB
  • ctags: 41
  • sloc: sh: 1,072; python: 64; makefile: 58
file content (17 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

pre_sysupgrade() {
	if [ -x /usr/bin/etckeeper ]; then
		etckeeper pre-install
	fi
}

post_sysupgrade() {
	if [ -x /usr/bin/etckeeper ]; then
		etckeeper post-install
	fi
}

op=$1
shift
$op $*