1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2025-02-17 15:55:52 -05:00

Update build.sh

This commit is contained in:
Raymond Li 2020-08-04 17:36:09 -04:00 committed by GitHub
parent a8744d76eb
commit 770006421e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,9 @@
#!/bin/bash
autoreconf -fiv
if
sed -i "/^auth include system-auth/c\#auth include system-auth" pam/i3lock
sed -i "/^#auth include login/c\auth include login" pam/i3lock
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
fi
BUILD_DIR=build/