aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorktprograms <ktprograms@gmail.com>2021-11-26 21:19:12 +0800
committerAndy Postnikov <apostnikov@gmail.com>2021-11-30 22:30:23 +0000
commit4035f02e0d82a62d1b043e5bec0094d00410bb58 (patch)
treef15d35061eace87291859d1ae6f0da48cba1ddb3
parent9a77c8479743d511607304f501dfce471a308c05 (diff)
downloadaports-4035f02e0d82a62d1b043e5bec0094d00410bb58.tar.gz
aports-4035f02e0d82a62d1b043e5bec0094d00410bb58.tar.bz2
aports-4035f02e0d82a62d1b043e5bec0094d00410bb58.tar.xz
community/nextcloud: fix shellcheck warnings
-rw-r--r--community/nextcloud/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/nextcloud/APKBUILD b/community/nextcloud/APKBUILD
index c69c479463..a2f009c740 100644
--- a/community/nextcloud/APKBUILD
+++ b/community/nextcloud/APKBUILD
@@ -207,7 +207,7 @@ _default_apps() {
depends="$pkgname"
replaces="nextcloud$_replaced_ver-default-apps"
- local path; for path in "$pkgdir"/$_appsdir/*; do
+ local path; for path in "$pkgdir"/"$_appsdir"/*; do
if grep -q '<default_enable\s*/>' "$path"/appinfo/info.xml; then
depends="$depends $pkgname-${path##*/}"
fi
@@ -217,7 +217,7 @@ _default_apps() {
}
_package_app() {
- local appname="${subpkgname#$pkgname-}"
+ local appname="${subpkgname#"$pkgname"-}"
local appinfo="$pkgdir/$_appsdir/$appname/appinfo/info.xml"
local name=$(xmlstarlet sel -t -v 'info/name/text()' "$appinfo")