- Fix in @exec installs incorrect file

PR:		ports/149081
Submitted by:	Jimmy Olgeni <olgeni@freebsd.org>
This commit is contained in:
Sylvio Cesar Teixeira 2010-08-05 12:33:43 +00:00
parent 5392c3ed61
commit 1dfa9021d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258807
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= lshell
PORTVERSION= 0.9.12
PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= SF

View file

@ -3,8 +3,8 @@ bin/lshell
@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
etc/logrotate.d/lshell
@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