File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ mkdir -p $dst_dir
30
30
tmpdir=` mktemp -d`
31
31
32
32
git clone -b $pf_ref https://github.com/inverse-inc/packetfence $tmpdir /packetfence
33
- cp -a $tmpdir /packetfence/addons/perl-client/ $tmpdir /fingerbank
34
33
35
34
# # Happens in the PF dir (chdir)
36
35
cd $tmpdir /packetfence
56
55
cd -
57
56
# # End of the commands in the PF dir
58
57
59
- cd $tmpdir /fingerbank
58
+ cd $tmpdir /packetfence/addons/perl-client/
60
59
perl db/upgrade.pl --database=db/fingerbank_Local.db
61
60
cp db/fingerbank_Local.db db/fingerbank_Upstream.db
62
61
cd -
@@ -68,7 +67,7 @@ mkdir -p $dst_dir/html/captive-portal/profile-templates/
68
67
touch $dst_dir /html/captive-portal/profile-templates/.empty
69
68
70
69
mkdir -p $dst_dir /fingerbank
71
- cp -a $tmpdir /fingerbank/ conf $dst_dir /fingerbank/
70
+ cp -a $tmpdir /packetfence/addons/perl-client/ conf $dst_dir /fingerbank/
72
71
touch $dst_dir /fingerbank/conf/fingerbank.conf
73
72
74
73
find $dst_dir -name .gitignore -delete
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ dst_dir=`echo $dst_dir | sed 's|/$||'`
30
30
tmpdir=` mktemp -d`
31
31
32
32
git clone -b $pf_ref https://github.com/inverse-inc/packetfence $tmpdir /packetfence
33
- cp -a $tmpdir /packetfence/addons/perl-client/ $tmpdir /fingerbank
34
33
35
34
cd $tmpdir /packetfence
36
35
make configurations
@@ -61,7 +60,7 @@ ln -s ../sites-available/dynamic-clients dynamic-clients
61
60
cd -
62
61
63
62
mkdir -p $dst_dir /fingerbank
64
- cp -a $tmpdir /fingerbank /conf $dst_dir /fingerbank/
63
+ cp -a $tmpdir /packetfence/addons/perl-client /conf $dst_dir /fingerbank/
65
64
66
65
for file in $files ; do
67
66
file=` echo $file | sed ' s|^/usr/local/pf/||' `
You can’t perform that action at this time.
0 commit comments