From fe93e48c8e9fc038b83fa9bf087783ac736ab9c2 Mon Sep 17 00:00:00 2001 From: Francesco Palmarini Date: Fri, 21 Jun 2019 09:20:12 +0200 Subject: [PATCH 1/2] fix #123 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ae32bb..5355ede 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Feedback about Fedora installation is welcome. ### openSUSE User *brycecordill* reported that the following dependencies are required for installing in openSUSE, tested on openSUSE 15.0 Leap. ``` -sudo zypper install gcc python3-devel dbus-1-glib-devel python3-cairo-devel cairo-devel python3-gobject-cairo gobject-introspection-devel +sudo zypper install gcc make python3-devel dbus-1-glib-devel python3-cairo-devel cairo-devel python3-gobject-cairo gobject-introspection-devel git clone https://github.com/erpalma/lenovo-throttling-fix.git sudo ./lenovo-throttling-fix/install.sh ``` From 2b73d324af872f756402b48da94c48949f000321 Mon Sep 17 00:00:00 2001 From: Francesco Palmarini Date: Fri, 12 Jul 2019 09:54:06 +0200 Subject: [PATCH 2/2] fix #126 --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index a95af04..2ff623d 100755 --- a/install.sh +++ b/install.sh @@ -3,12 +3,12 @@ INSTALL_DIR="/opt/lenovo_fix" if pidof systemd 2>&1 1>/dev/null; then - systemctl stop lenovo_fix.service &>/dev/null + systemctl stop lenovo_fix.service >/dev/null 2>&1 elif pidof runit 2>&1 1>/dev/null; then - sv down lenovo_fix &>/dev/null + sv down lenovo_fix >/dev/null 2>&1 fi -mkdir -p "$INSTALL_DIR" &>/dev/null +mkdir -p "$INSTALL_DIR" >/dev/null 2>&1 set -e cd "$(dirname "$0")"