File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ rc_bindir = rc_libexecdir / 'bin'
107107rc_sbindir = rc_libexecdir / ' sbin'
108108rc_shdir = rc_libexecdir / ' sh'
109109sbindir = rootprefix / get_option (' sbindir' )
110+ pamdir = get_option (' sysconfdir' ) / ' pam.d'
110111
111112crypt_dep = []
112113
Original file line number Diff line number Diff line change @@ -101,11 +101,9 @@ executable('start-stop-daemon',
101101 install_dir : sbindir)
102102
103103if get_option (' pam' )
104- pam_dir = get_option (' sysconfdir' ) / ' pam.d'
105-
106104 install_data (' start-stop-daemon.pam' ,
107105 rename : ' start-stop-daemon' ,
108- install_dir : pam_dir )
106+ install_dir : pamdir )
109107endif
110108
111109executable (' supervise-daemon' ,
@@ -119,11 +117,9 @@ executable('supervise-daemon',
119117 install_dir : sbindir)
120118
121119if get_option (' pam' )
122- pam_dir = get_option (' sysconfdir' ) / ' pam.d'
123-
124120 install_data (' supervise-daemon.pam' ,
125121 rename : ' supervise-daemon' ,
126- install_dir : pam_dir )
122+ install_dir : pamdir )
127123endif
128124
129125if os == ' Linux'
You can’t perform that action at this time.
0 commit comments