mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
a1ee856235
- Fix expiry script, because newer port install removes ".sh" extension from rc script - Group mail is not necessary for polipo user PR: 108729 Submitted by: farrokhi@ Approved by: maintainer
22 lines
306 B
Bash
22 lines
306 B
Bash
#!/bin/sh
|
|
#
|
|
# control file for periodic/daily
|
|
# polipo expiry
|
|
#
|
|
#
|
|
|
|
if [ -r %%PREFIX%%/etc/rc.d/polipo ]
|
|
then
|
|
echo ""
|
|
echo "polipo expiry:"
|
|
%%PREFIX%%/etc/rc.d/polipo expire
|
|
fi
|
|
if [ -r %%PREFIX%%/etc/rc.d/polipo.sh ]
|
|
then
|
|
echo ""
|
|
echo "polipo expiry:"
|
|
%%PREFIX%%/etc/rc.d/polipo.sh expire
|
|
fi
|
|
|
|
exit 0
|