mirror of
https://github.com/rembo10/headphones.git
synced 2026-01-08 22:38:08 -05:00
Fix for new paths
This commit is contained in:
@@ -7,7 +7,7 @@ if [ -z "$1" ]; then
|
||||
fi
|
||||
|
||||
# Version file check
|
||||
if [ ! -s "$2/version.lock" ]; then
|
||||
if [ ! -s "$1/version.lock" ]; then
|
||||
echo "Missing the version.lock file in the data folder, or the file is empty. Did you start Headphones at least once?"
|
||||
exit 1
|
||||
fi
|
||||
@@ -19,7 +19,7 @@ if [ ! -x "$(command -v git)" ]; then
|
||||
fi
|
||||
|
||||
# Display information
|
||||
HASH=$(cat $2/version.lock)
|
||||
HASH=$(cat $1/version.lock)
|
||||
|
||||
echo "This script will try to downgrade Headphones to the last version that started, version $HASH. Make sure you have a backup of your config file and database, just in case!"
|
||||
echo "Press enter to continue, or CTRL + C to quit."
|
||||
|
||||
Reference in New Issue
Block a user