mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
10 lines
242 B
Plaintext
10 lines
242 B
Plaintext
|
#!/bin/sh
|
||
|
if [ $2 != "POST-INSTALL" ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
if [ -e ${PKG_PREFIX}/etc/sudoers ]; then
|
||
|
echo "Will not overwrite existing ${PKG_PREFIX}/etc/sudoers file."
|
||
|
else
|
||
|
cp -p ${PKG_PREFIX}/etc/sudoers.sample ${PKG_PREFIX}/etc/sudoers
|
||
|
fi
|