Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Feb 2, 2025
1 parent c595c54 commit 07aa49a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions plugins/lam/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,19 @@ Install_App()
VER=$1

# https://github.com/leenooks/phpLDAPadmin/archive/refs/tags/1.2.6.7.tar.gz
FDIR=phpLDAPadmin-${VER}
FILE=${VER}.tar.gz
DOWNLOAD=https://github.com/leenooks/phpLDAPadmin/archive/refs/tags/${FILE}

https://github.com/LDAPAccountManager/lam/releases/download/9.0/ldap-account-manager-9.0.tar.bz2
FDIR=lam-${VER}
FILE=ldap-account-manager-${VER}.tar.bz2
DOWNLOAD=https://github.com/LDAPAccountManager/lam/releases/download/9.0/${FILE}


if [ ! -f $serverPath/source/phpmyadmin/$FILE ];then
wget --no-check-certificate -O $serverPath/source/lam/$FILE $DOWNLOAD
fi

if [ ! -d $serverPath/source/lam/$FDIR ];then
cd $serverPath/source/lam && tar zxvf $FILE
cd $serverPath/source/lam && tar jxvf $FILE
fi

cp -r $serverPath/source/lam/$FDIR $serverPath/lam/
Expand Down

0 comments on commit 07aa49a

Please sign in to comment.