Package: erlang-p1-pam / 1.0.4-3

epam_bin_path.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: adjust path to epam binary
 Adjust the default path name of the epam binary for Debian.
Author: Philipp Huebner <debalance@debian.org>

Index: erlang-p1-pam/src/epam.erl
===================================================================
--- erlang-p1-pam.orig/src/epam.erl
+++ erlang-p1-pam/src/epam.erl
@@ -81,7 +81,7 @@ acct_mgmt(Srv, User)
     gen_server:call(?PROCNAME, {acct_mgmt, Srv, User}).
 
 init([]) ->
-    FileName = filename:join(get_bin_path(), "epam"),
+    FileName = "/usr/lib/erlang/p1_pam/bin/epam",
     case file:read_file_info(FileName) of
       {ok, Info} ->
 	  Mode = Info#file_info.mode band 2049,