abe8b21d9a
I merged the 2 plists to prevent orphans to be reported during make check-plist of misc/amanda-server, as it installs into stage some files already provided by misc/amanda-client Bump PORTREVISION as the install/deinstall scripts were revised PR: ports/193196
16 lines
336 B
Bash
16 lines
336 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
case "$2" in
|
|
POST-INSTALL)
|
|
mkdir -p %%AMANDA_GNUTAR_LISTDIR%%
|
|
chown %%USERS%%:%%AMANDA_GROUP%% %%AMANDA_GNUTAR_LISTDIR%%
|
|
touch %%AMANDA_DATES%%
|
|
chown %%USERS%%:%%AMANDA_GROUP%% %%AMANDA_DATES%%
|
|
;;
|
|
POST-DEINSTALL)
|
|
test -s %%AMANDA_DATES%% || rm -f %%AMANDA_DATES%%
|
|
rmdir -p %%AMANDA_GNUTAR_LISTDIR%% || :
|
|
;;
|
|
esac
|
|
|