summaryrefslogtreecommitdiff
path: root/source/xap/xlockmore/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/xlockmore/doinst.sh')
-rw-r--r--source/xap/xlockmore/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/xap/xlockmore/doinst.sh b/source/xap/xlockmore/doinst.sh
index 3c7968d9..0b372dbc 100644
--- a/source/xap/xlockmore/doinst.sh
+++ b/source/xap/xlockmore/doinst.sh
@@ -11,4 +11,6 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/pam.d/xlock.new
+if [ -r etc/pam.d/xlock.new ]; then
+ config etc/pam.d/xlock.new
+fi