diff --git a/srcpkgs/xbps-triggers/files/gtk-icon-cache b/srcpkgs/xbps-triggers/files/gtk-icon-cache index e905d9b1c1..abff328164 100755 --- a/srcpkgs/xbps-triggers/files/gtk-icon-cache +++ b/srcpkgs/xbps-triggers/files/gtk-icon-cache @@ -23,8 +23,8 @@ targets) run) if [ "$TARGET" = "post-remove" -a "${PKGNAME}" = "gtk+" ]; then for dir in ${gtk_iconcache_dirs}; do - if [ -f ${dir}/icon-theme.cache ]; then - rm -f ${dir}/icon-theme.cache + if [ -f .${dir}/icon-theme.cache ]; then + rm -f .${dir}/icon-theme.cache echo -n "Removed GTK+ icon theme " echo "cache for ${dir}." fi @@ -39,10 +39,10 @@ run) case "$TARGET" in post-*) for dir in ${gtk_iconcache_dirs}; do - if [ -d "${dir}" ]; then + if [ -d ".${dir}" ]; then echo -n "Updating GTK+ icon cache for " echo "${dir}..." - ${iconcache_bin} -q -f -t ${dir} + ${iconcache_bin} -q -f -t .${dir} fi done ;; diff --git a/srcpkgs/xbps-triggers/files/pycompile b/srcpkgs/xbps-triggers/files/pycompile index 9d1da900b4..fb55a20024 100755 --- a/srcpkgs/xbps-triggers/files/pycompile +++ b/srcpkgs/xbps-triggers/files/pycompile @@ -47,8 +47,8 @@ compile() { for f in ${pycompile_dirs}; do echo "Byte-compiling python code in ${f}..." - python${pycompile_version} -m compileall -f -q ${f} && \ - python${pycompile_version} -O -m compileall -f -q ${f} + python${pycompile_version} -m compileall -f -q ./${f} && \ + python${pycompile_version} -O -m compileall -f -q ./${f} done for f in ${pycompile_module}; do echo "Byte-compiling python${pycompile_version} code for module ${f}..." @@ -71,8 +71,8 @@ remove() { for f in ${pycompile_dirs}; do echo "Removing byte-compiled python${pycompile_version} files in ${f}..." - find ${f} -type f -name \*.py[co] -delete 2>&1 >/dev/null - find ${f} -type d -name __pycache__ -delete 2>&1 >/dev/null + find ./${f} -type f -name \*.py[co] -delete 2>&1 >/dev/null + find ./${f} -type d -name __pycache__ -delete 2>&1 >/dev/null done for f in ${pycompile_module}; do echo "Removing byte-compiled python${pycompile_version} code for module ${f}..." diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index b649b5f0bf..748942206a 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,6 +1,6 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.119 +version=0.120 revision=1 bootstrap=yes short_desc="XBPS triggers for Void Linux"