aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-01-05 10:55:56 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-01-05 14:59:10 +0200
commit7918bce1422fb217b59131111c6fb1ccdf52ddc4 (patch)
tree369fce128f1b021c0c88455039c0011a2014b9d7 /linux
parentDisable plugins as broken (diff)
downloadsmolbote-7918bce1422fb217b59131111c6fb1ccdf52ddc4.tar.xz
Code cleanup
- Replace Browser::getProfileManager with WebProfileManager::instance - Make WebProfileManager::profileMenu a free function - Replace Browser::loadProfile with Browser::loadProfiles
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) }')