From 7918bce1422fb217b59131111c6fb1ccdf52ddc4 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 5 Jan 2020 10:55:56 +0200 Subject: Code cleanup - Replace Browser::getProfileManager with WebProfileManager::instance - Make WebProfileManager::profileMenu a free function - Replace Browser::loadProfile with Browser::loadProfiles --- linux/makepkg/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux') 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) }') -- cgit v1.2.1