diff --git a/meson.build b/meson.build index 3110e8e..5c460bb 100644 --- a/meson.build +++ b/meson.build @@ -152,19 +152,10 @@ executable('swaylock', install: true ) -if is_freebsd - install_data( - 'pam/swaylock.freebsd', - install_dir: sysconfdir + '/pam.d/', - rename: 'swaylock' - ) -else - install_data( - 'pam/swaylock.linux', - install_dir: sysconfdir + '/pam.d/', - rename: 'swaylock' - ) -endif +install_data( + 'pam/swaylock', + install_dir: sysconfdir + '/pam.d/' +) if scdoc.found() sh = find_program('sh') diff --git a/pam/swaylock.linux b/pam/swaylock similarity index 100% rename from pam/swaylock.linux rename to pam/swaylock diff --git a/pam/swaylock.freebsd b/pam/swaylock.freebsd deleted file mode 100644 index 603fc18..0000000 --- a/pam/swaylock.freebsd +++ /dev/null @@ -1,6 +0,0 @@ -# -# PAM configuration file for the swaylock screen locker. By default, it includes -# the 'passwd' configuration file (see /etc/pam.d/passwd) -# - -auth include passwd