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