1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/oops/pkg-plist
Edwin Groothuis 508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00

66 lines
2.9 KiB
Plaintext

@unexec if cmp -s %D/etc/oops/accel_maps %D/etc/oops/accel_maps.sample; then rm -f %D/etc/oops/accel_maps; fi
etc/oops/accel_maps.sample
@exec [ -f %B/accel_maps ] || cp %B/%f %B/accel_maps
@unexec if cmp -s %D/etc/oops/acl_local_networks %D/etc/oops/acl_local_networks.sample; then rm -f %D/etc/oops/acl_local_networks; fi
etc/oops/acl_local_networks.sample
@exec [ -f %B/etc/oops/acl_local_networks ] || cp %B/%f %B/acl_local_networks
@unexec if cmp -s %D/etc/oops/auth_template.html %D/etc/oops/auth_template.html.sample; then rm -f %D/etc/oops/auth_template.html; fi
etc/oops/auth_template.html.sample
@exec [ -f %B/etc/oops/auth_template.html ] || cp %B/%f %B/auth_template.html
@unexec if cmp -s %D/etc/oops/err_template.html %D/etc/oops/err_template.html.sample; then rm -f %D/etc/oops/err_template.html; fi
etc/oops/err_template.html.sample
@exec [ -f %B/etc/oops/err_template.html ] || cp %B/%f %B/err_template.html
@unexec if cmp -s %D/etc/oops/oops.cfg %D/etc/oops/oops.cfg.sample; then rm -f %D/etc/oops/oops.cfg; fi
etc/oops/oops.cfg.sample
@exec [ -f %B/etc/oops/oops.cfg ] || cp %B/%f %B/oops.cfg
@unexec if cmp -s %D/etc/oops/passwd %D/etc/oops/passwd.sample; then rm -f %D/etc/oops/passwd; fi
etc/oops/passwd.sample
@exec [ -f %B/etc/oops/passwd ] || cp %B/%f %B/passwd
@unexec if cmp -s %D/etc/oops/redir_rules %D/etc/oops/redir_rules.sample; then rm -f %D/etc/oops/redir_rules; fi
etc/oops/redir_rules.sample
@exec [ -f %B/etc/oops/redir_rules ] || cp %B/%f %B/redir_rules
@unexec if cmp -s %D/etc/oops/redir_template.html %D/etc/oops/redir_template.html.sample; then rm -f %D/etc/oops/redir_template.html; fi
etc/oops/redir_template.html.sample
@exec [ -f %B/etc/oops/redir_template.html ] || cp %B/%f %B/redir_template.html
@unexec if cmp -s %D/etc/oops/select.sql %D/etc/oops/select.sql.sample; then rm -f %D/etc/oops/select.sql; fi
etc/oops/select.sql.sample
@exec [ -f %B/etc/oops/select.sql ] || cp %B/%f %B/select.sql
etc/oops/tables/koi-alt.tab
etc/oops/tables/koi-iso.tab
etc/oops/tables/koi-win.tab
etc/rc.d/oops.sh
libexec/oops/accel.so
libexec/oops/berkeley_db_api.so
libexec/oops/custom_log.so
libexec/oops/err.so
libexec/oops/fastredir.so
libexec/oops/gigabase_db_api.so
libexec/oops/lang.so
libexec/oops/log_dummy.so
libexec/oops/netflow.so
libexec/oops/oopsctl_mod.so
libexec/oops/pam.so
libexec/oops/passwd_file.so
libexec/oops/passwd_ldap.so
libexec/oops/passwd_mysql.so
libexec/oops/passwd_pgsql.so
libexec/oops/redir.so
libexec/oops/transparent.so
libexec/oops/vary_header.so
libexec/oops/wccp2.so
libexec/oops/win_http.so
sbin/oops
sbin/oopsctl
@dirrm libexec/oops
@dirrm etc/oops/tables
@dirrmtry etc/oops
@dirrmtry oops/DB
@dirrmtry oops/logs
@dirrmtry oops/storages
@dirrmtry oops
@unexec rmdir /var/log/oops 2>/dev/null || true
@unexec rm -f /var/run/oops/oopsctl 2>/dev/null || true
@unexec rm -f /var/run/oops/oops_statfile 2>/dev/null || true
@unexec rm -f /var/run/oops/oops.pid 2>/dev/null || true
@unexec rmdir /var/run/oops 2>/dev/null || true