This commit is contained in:
Rhuan Patriky 2024-02-05 11:43:02 +01:00 committed by GitHub
commit 6649f12966
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -1,11 +1,14 @@
#!/bin/bash
LICENSE='/usr/share/licenses/i3lock-color/LICENSE'
SUDO='sudo'
[ "$UID" -eq 0 ] && unset SUDO
./build.sh
cd build
sudo make install
sudo install -Dm644 ../LICENSE "$LICENSE"
$SUDO make install
$SUDO install -Dm644 ../LICENSE "$LICENSE"
echo "i3lock-color installed. The binary and manpage listing are \`i3lock'.
The license can be found at $LICENSE