summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 21:17:37 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 21:17:37 -0400
commit0a98be6dbe4597ce4e60063692bea676df03766a (patch)
tree5122fcd04d85a56b36d7a8b9013ded99b95f36d6
parent57e345c7685983e629aac18a4e5b068392d29f6d (diff)
downloadpackages-0a98be6dbe4597ce4e60063692bea676df03766a.tar.gz
packages-0a98be6dbe4597ce4e60063692bea676df03766a.tar.bz2
packages-0a98be6dbe4597ce4e60063692bea676df03766a.tar.xz
packages-0a98be6dbe4597ce4e60063692bea676df03766a.zip
user/vlc: remove &> bashism from trigger
-rw-r--r--user/vlc/APKBUILD4
-rw-r--r--user/vlc/vlc-libs.trigger2
2 files changed, 3 insertions, 3 deletions
diff --git a/user/vlc/APKBUILD b/user/vlc/APKBUILD
index f5be9f620..6bd76fafe 100644
--- a/user/vlc/APKBUILD
+++ b/user/vlc/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=vlc
pkgver=3.0.7.1
-pkgrel=0
+pkgrel=1
pkgdesc="Multi-platform MPEG, VCD/DVD, and DivX player"
triggers="vlc-libs.trigger=/usr/lib/vlc/plugins"
pkgusers="vlc"
@@ -142,7 +142,7 @@ check() {
}
_mv() {
- local dir=${1%/*}
+ local dir="${1%/*}"
mkdir -p "$subpkgdir"/$dir
mv "$1" "$subpkgdir"/$dir/
}
diff --git a/user/vlc/vlc-libs.trigger b/user/vlc/vlc-libs.trigger
index c13bace99..163806314 100644
--- a/user/vlc/vlc-libs.trigger
+++ b/user/vlc/vlc-libs.trigger
@@ -1,5 +1,5 @@
#!/bin/sh
-exec /usr/lib/vlc/vlc-cache-gen "$@" >&/dev/null
+exec /usr/lib/vlc/vlc-cache-gen "$@" >/dev/null 2>&1
exit 0