You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The update script checks the wrong location for the update folder, so gpt downloads the update but it will not be applied.
# Check if the update folder exists
if [ -d "update" ]; then
cd $GPTDIR
# Move all files from the update folder to the current one and remove it afterwards
mv update/* .
# Remove the update folder
rm -rf update
# Set execution rights for the shell script
chmod +x gpt.sh
fi
but it should be
# Check if the update folder exists
if [ -d "$GPTDIR/update" ]; then
cd $GPTDIR
# Move all files from the update folder to the current one and remove it afterwards
mv update/* .
# Remove the update folder
rm -rf update
# Set execution rights for the shell script
chmod +x gpt.sh
fi
The text was updated successfully, but these errors were encountered:
The update script checks the wrong location for the update folder, so gpt downloads the update but it will not be applied.
but it should be
The text was updated successfully, but these errors were encountered: