Skip to content

Commit

Permalink
v 0.88.1
Browse files Browse the repository at this point in the history
Update : stop if repository if locked.
  • Loading branch information
Darklg committed Mar 13, 2024
1 parent 4a26043 commit 8418f98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions bin/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ if [[ "${1}" == 'help' ]];then
return;
fi;

# Check lock
if [[ -f "${_CURRENT_DIR}.git/index.lock" ]];then
bashutilities_message "Error : Git repository is locked" 'error';
return;
fi;

_ADMIN_PROTECT_FILE=$(find . -mount -name 'wputh_admin_protect.php');
_ADMIN_PROTECT_FLAG=".disable_wpu_admin_protect";
Expand Down
2 changes: 1 addition & 1 deletion wputools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

WPUTools(){

local _WPUTOOLS_VERSION='0.88.0';
local _WPUTOOLS_VERSION='0.88.1';
local _PHP_VERSIONS=(7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5 9.0)
local _PHP_VERSIONS_OBSOLETES=(7.0 7.1 7.2 7.3 7.4)
local _PHP_VERSIONS_ADVANCED=(8.2 8.3 8.4 8.5 9.0)
Expand Down

0 comments on commit 8418f98

Please sign in to comment.