Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit e219ac9

Browse files
committed
Try to fix broken box self-update, take 5
1 parent 723c7b7 commit e219ac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/self-update

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ echo "# WPLib-Box: Updating ${WPLIB_BOX_CLI_DIR} with version ${VERSION}"
3131
if [ -d "${WPLIB_BOX_CLI_DIR}" ]
3232
then
3333
if [ -d "${WPLIB_BOX_CLI_DIR}-LAST" ] ; then
34-
sudo rm -rf "${WPLIB_BOX_CLI_DIR}-LAST" >> $WPLIB_BOX_CLI_DEBUG_LOG_FILE
34+
sudo rm -rf "${WPLIB_BOX_CLI_DIR}-LAST"
3535
fi
36-
sudo mv "${WPLIB_BOX_CLI_DIR}" "${WPLIB_BOX_CLI_DIR}-LAST" >> $WPLIB_BOX_CLI_DEBUG_LOG_FILE
36+
sudo mv "${WPLIB_BOX_CLI_DIR}" "${WPLIB_BOX_CLI_DIR}-LAST"
3737
fi
3838
sudo mkdir -p ${WPLIB_BOX_CLI_DIR}
3939
sudo git clone -q ${WPLIB_BOX_SCRIPTS_REPO} ${WPLIB_BOX_CLI_DIR} > /dev/null

0 commit comments

Comments
 (0)