diff options
Diffstat (limited to 'abs/extra/vcdimager/vcdimager.install')
-rw-r--r-- | abs/extra/vcdimager/vcdimager.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/extra/vcdimager/vcdimager.install b/abs/extra/vcdimager/vcdimager.install new file mode 100644 index 0000000..faa9748 --- /dev/null +++ b/abs/extra/vcdimager/vcdimager.install @@ -0,0 +1,19 @@ +infodir=/usr/share/info +filelist=(vcd-info.info.gz vcdimager.info.gz vcdxrip.info.gz) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} + |