xbps-trigger: virtualpkg: ignore unexistent .conf files.
This commit is contained in:
parent
1706bdc2ac
commit
fc404e0b44
2 changed files with 4 additions and 1 deletions
|
@ -23,6 +23,9 @@ targets)
|
|||
;;
|
||||
run)
|
||||
for f in etc/xbps/virtualpkg.d/*.conf; do
|
||||
if [ ! -r "${f}" ]; then
|
||||
continue
|
||||
fi
|
||||
file=$(basename $f)
|
||||
file=${file%.conf}
|
||||
if [ -f etc/xbps/virtualpkg.d/${file}.vpkg ]; then
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.75
|
||||
version=0.76
|
||||
revision=1
|
||||
noarch=yes
|
||||
bootstrap=yes
|
||||
|
|
Loading…
Reference in a new issue