summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 75205fa93dc7..44da143ab099 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu May 30 02:53:40 UTC 2019
+# Sat Jun 1 02:47:54 UTC 2019
pkgbase = bcompare
pkgver = 4.2.10.23938
- pkgrel = 1
+ pkgrel = 2
url = http://www.scootersoftware.com
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 1cac5c8ed3b9..65346b5e5643 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@
pkgbase=bcompare
pkgname=('bcompare' 'bcompare-kde5' 'bcompare-kde4' 'bcompare-nautilus' 'bcompare-thunar' 'bcompare-cinnamon' 'bcompare-mate')
pkgver=4.2.10.23938
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.scootersoftware.com'
license=('custom')
@@ -69,7 +69,8 @@ package_bcompare() {
# Excecute install script - needs to be run here
cd "${pkgbase}-${pkgver}"
_install_dir="${srcdir}/install"
- sh install.sh --prefix="${_install_dir}"
+ sh -version &> /dev/null && sh install.sh --prefix="${_install_dir}"\
+ || bash install.sh --prefix="${_install_dir}"
# Prepare the directory skeleton needed for install.sh
cp -r "${_install_dir}/bin" "${pkgdir}/"