mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
This syncs the README files that are produced during pkg-install with those installed from source. This prevents a checksum issue. Reported by: vova@fbsd.ru
14 lines
306 B
Bash
14 lines
306 B
Bash
#!/bin/sh
|
|
#
|
|
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
|
|
|
|
DBDIR=/var/netatalk
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
tee $DBDIR/README > $DBDIR/CNID/README <<-'EOF'
|
|
This directory contains modifiable Netatalk configuration files and the CNID databases.
|
|
EOF
|
|
truncate -s -1 $DBDIR/README $DBDIR/CNID/README
|
|
;;
|
|
esac
|