blob: bc2222716509b12745cf1061d4eab670acbb0fdd (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
case "$1" in
install)
sed -i "s:^\(AuthUserFile \).*$:\1${MY_INSTALLDIR}/admin/.htpasswd:gI" ${MY_INSTALLDIR}/admin/.htaccess || exit
;;
*)
# Nothing to do for clean up
;;
esac
|