Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Nov 15, 2024
1 parent 7ce9db2 commit d67279e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion hiddify-panel/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
pip uninstall -y flask-babelex >/dev/null 2>&1

# install/build hiddifypanel package
if [ "$HIDDIFY_DEBUG" = "1" ] && [ -n "$HIDDIFY_PANLE_SOURCE_DIR" ]; then
if [ -n "$HIDDIFY_PANLE_SOURCE_DIR" ]; then
echo "NOTICE: building hiddifypanel package from source..."
echo "NOTICE: the source dir $HIDDIFY_PANLE_SOURCE_DIR"
pip install -e "$HIDDIFY_PANLE_SOURCE_DIR"
Expand Down
6 changes: 1 addition & 5 deletions other/mysql/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
cd $(dirname -- "$0")
source ../../common/utils.sh

if [data folder is empty]
copy /var/lib/mariadb/ to data folder
endif

if [ -z "$(ls -A data 2>/dev/null)" ];then
mkdir -p data
cp -R /var/lib/mariadb/* data/
Expand Down Expand Up @@ -45,7 +41,7 @@ fi



if [ $MODE != "docker-install" ];then
if [ "$MODE" != "docker-install" ];then

if [ ! -f "mysql_pass" ]; then
echo "Generating a random password..."
Expand Down

0 comments on commit d67279e

Please sign in to comment.