From 7493c0beada63ab22a51408dac8db457824d31d1 Mon Sep 17 00:00:00 2001 From: Raymond Li Date: Sun, 10 May 2020 15:17:14 -0400 Subject: [PATCH] Fix install --- README.md | 4 ++-- install.sh => install-i3lock-color.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename install.sh => install-i3lock-color.sh (61%) diff --git a/README.md b/README.md index 36b089d..f9a6e50 100644 --- 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.sh b/install-i3lock-color.sh similarity index 61% rename from install.sh rename to install-i3lock-color.sh index 261c3cd..8a1c43e 100644 --- a/install.sh +++ b/install-i3lock-color.sh @@ -6,6 +6,6 @@ mkdir -p build && cd build/ ../configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers -make install +sudo make install -install -Dm644 LICENSE "/usr/share/licenses/i3lock-color/LICENSE" +sudo install -Dm644 LICENSE "/usr/share/licenses/i3lock-color/LICENSE"