aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/makepkg/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD
index 59c7eee..a9beae7 100644
--- a/linux/makepkg/PKGBUILD
+++ b/linux/makepkg/PKGBUILD
@@ -28,7 +28,7 @@ sha512sums=('SKIP'
## not-use flags Options
# Enable plugin signing:
-_signPlugins=
+#_signPlugins=
# Enable breakpad integraton:
_enableBreakpad=
@@ -88,7 +88,7 @@ package() {
cd $srcdir/build
DESTDIR="$pkgdir" ninja install
- if [ -n $_signPlugins ]; then
+ if [[ -v $_signPlugins ]]; then
msg "Signing plugins"
for so in $pkgdir/usr/local/lib/smolbote/plugins/*.so; do
msg2 "Signed $(basename $so)"
@@ -96,7 +96,7 @@ package() {
done
fi
- if [ -n $_enableBreakpad ]; then
+ if [[ -v $_enableBreakpad ]]; then
msg "Installing debug symbols"
ninja -C $srcdir/build linux/poi.sym
install -dm644 $pkgdir/usr/local/lib/smolbote/symbols/poi/$(head -n1 linux/poi.sym | awk '{ print $(NF-1) }')