1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/shells/lshell/pkg-plist
Sylvio Cesar Teixeira 1dfa9021d7 - Fix in @exec installs incorrect file
PR:		ports/149081
Submitted by:	Jimmy Olgeni <olgeni@freebsd.org>
2010-08-05 12:33:43 +00:00

13 lines
660 B
Plaintext

bin/lshell
@exec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
@unexec echo "Updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
@unexec if cmp -s %D/etc/lshell.conf %D/etc/lshell.conf.sample; then rm -f %D/etc/lshell.conf; fi
etc/lshell.conf.sample
@exec if [ ! -f %D/etc/lshell.conf ]; then cp %B/%f %D/etc/lshell.conf; fi
etc/logrotate.d/lshell
%%PYTHON_SITELIBDIR%%/lshell.py
%%PYTHON_SITELIBDIR%%/lshell.pyc
%%PYTHON_SITELIBDIR%%/lshell.pyo
@dirrmtry %%DATADIR%%
@dirrmtry etc/logrotate.d