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:
parent
770006421e
commit
02334d35ae
2 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@ i3lock
|
|||
tags
|
||||
*.swp
|
||||
*.gz
|
||||
/pam/i3lock
|
||||
|
||||
################################################################################
|
||||
# https://raw.githubusercontent.com/github/gitignore/master/Autotools.gitignore
|
||||
|
|
6
build.sh
6
build.sh
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue