Date: Tuesday, February 4, 2020 @ 17:18:18
  Author: alucryd
Revision: 562091

fix install script: tlp 1.3.0-2

Modified:
  tlp/trunk/PKGBUILD
  tlp/trunk/tlp.install

-------------+
 PKGBUILD    |    2 +-
 tlp.install |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-02-04 17:04:24 UTC (rev 562090)
+++ PKGBUILD    2020-02-04 17:18:18 UTC (rev 562091)
@@ -7,7 +7,7 @@
   tlp-rdw
 )
 pkgver=1.3.0
-pkgrel=1
+pkgrel=2
 arch=(any)
 url=https://linrunner.de/en/tlp/tlp.html
 license=(GPL2)

Modified: tlp.install
===================================================================
--- tlp.install 2020-02-04 17:04:24 UTC (rev 562090)
+++ tlp.install 2020-02-04 17:18:18 UTC (rev 562091)
@@ -1,5 +1,5 @@
 post_upgrade() {
-  if [[ $(vercmp $2 1.3.0) < 0 ]]; then
+  if [ $(vercmp $2 1.3.0) -lt 0 ]; then
     cat << EOF
 The default TLP configuration has moved from /etc/default/tlp to /etc/tlp.conf.
 The syntax is the same, you can move your old configuration or start fresh.

Reply via email to