Fix plist
Use @dir and @sample where possible
This commit is contained in:
parent
98b667aa29
commit
c79cbe36a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380317
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= yum
|
||||
PORTVERSION= 3.4.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://yum.baseurl.org/download/${PORTVERSION:R}/
|
||||
|
||||
|
@ -130,30 +130,11 @@ etc/rc.d/init.d/yum-updatesd
|
||||
etc/dbus-1/system.d/yum-updatesd.conf
|
||||
etc/bash_completion.d/yum.bash
|
||||
etc/yum/version-groups.conf
|
||||
@unexec if cmp -s %D/etc/yum/yum.conf.sample %D/etc/yum/yum.conf; then rm -f %D/etc/yum/yum.conf; fi
|
||||
etc/yum/yum.conf.sample
|
||||
@exec if [ ! -f %D/etc/yum/yum.conf ]; then cp -p %D/%F %B/yum.conf; fi
|
||||
@unexec if cmp -s %D/etc/yum/yum-updatesd.conf.sample %D/etc/yum/yum-updatesd.conf; then rm -f %D/etc/yum/yum-updatesd.conf; fi
|
||||
etc/yum/yum-updatesd.conf.sample
|
||||
@exec if [ ! -f %D/etc/yum/yum-updatesd.conf ]; then cp -p %D/%F %B/yum-updatesd.conf; fi
|
||||
@dirrm share/yum-cli
|
||||
@dirrm etc/yum/repos.d
|
||||
@dirrm etc/yum/vars
|
||||
@dirrm etc/yum/protected.d
|
||||
@dirrm etc/yum
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/rpmUtils
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/yum
|
||||
@dirrmtry etc/bash_completion.d
|
||||
@dirrmtry etc/logrotate.d
|
||||
@dirrmtry etc/rc.d/init.d
|
||||
@dirrmtry share/locale/id_ID/LC_MESSAGES
|
||||
@dirrmtry share/locale/id_ID
|
||||
@dirrmtry share/locale/lt_LT/LC_MESSAGES
|
||||
@dirrmtry share/locale/lt_LT
|
||||
@dirrmtry share/locale/ur/LC_MESSAGES
|
||||
@dirrmtry share/locale/ur
|
||||
@dirrmtry etc/dbus-1/system.d
|
||||
@dirrmtry etc/dbus-1
|
||||
@unexec rmdir /var/cache/yum 2>&1 >/dev/null || true
|
||||
@unexec rmdir /var/lib/yum 2>&1 >/dev/null || true
|
||||
@unexec rmdir /var/lib 2>&1 >/dev/null || true
|
||||
@sample etc/yum/yum.conf.sample
|
||||
@sample etc/yum/yum-updatesd.conf.sample
|
||||
@dir /var/cache/yum
|
||||
@dir /var/lib/yum
|
||||
@dir /var/lib
|
||||
@dir %%ETCDIR%%/protected.d
|
||||
@dir %%ETCDIR%%/repos.d
|
||||
@dir %%ETCDIR%%/vars
|
||||
|
Loading…
Reference in New Issue
Block a user