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
1 changed files with 3 additions and 3 deletions

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/