commit 7493c0beada63ab22a51408dac8db457824d31d1
parent ac8390ba6690c7f228c8c7f5194cd0b4c6b28d23
Author: Raymond Li <hi@raymond.li>
Date: Sun, 10 May 2020 15:17:14 -0400
Fix install
Diffstat:
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
@@ -97,8 +97,8 @@ chmod +x build.sh
```
To install after building, run:
```
-chmod +x install.sh
-./install.sh
+chmod +x install-i3lock-color.sh
+./install-i3lock-color.sh
```
You may choose to modify the script based on your needs/OS/distro.
diff --git a/install-i3lock-color.sh b/install-i3lock-color.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+autoreconf -fiv
+
+rm -rf build/
+mkdir -p build && cd build/
+
+../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers
+
+sudo make install
+
+sudo install -Dm644 LICENSE "/usr/share/licenses/i3lock-color/LICENSE"
diff --git a/install.sh b/install.sh
@@ -1,11 +0,0 @@
-#!/bin/bash
-autoreconf -fiv
-
-rm -rf build/
-mkdir -p build && cd build/
-
-../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers
-
-make install
-
-install -Dm644 LICENSE "/usr/share/licenses/i3lock-color/LICENSE"