1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-11-11 13:50:52 -05:00

Fix for Arch

This commit is contained in:
Raymond Li 2020-08-04 17:55:51 -04:00
parent 770006421e
commit 02334d35ae
No known key found for this signature in database
GPG key ID: A014EA89B62BBB1B
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View file

@ -3,6 +3,7 @@ i3lock
tags
*.swp
*.gz
/pam/i3lock
################################################################################
# https://raw.githubusercontent.com/github/gitignore/master/Autotools.gitignore

View file

@ -1,9 +1,9 @@
#!/bin/bash
autoreconf -fiv
if [[ -f /etc/arch-release ]]
sed -i "/^#auth include system-auth/auth include system-auth" pam/i3lock
sed -i "/^auth include login/#auth include login" pam/i3lock
if [[ -f /etc/arch-release ]]; then
sed -i "s/^#auth include system-auth/auth include system-auth/g" pam/i3lock
sed -i "s/^auth include login/#auth include login/g" pam/i3lock
fi
BUILD_DIR=build/