11 lines
455 B
Bash
11 lines
455 B
Bash
#!/usr/bin/env bash
|
|
|
|
upgradedatabase_6_7() {
|
|
echo "Upgrading database to version 7... (backup is $database.bak_v6)"
|
|
cp "$database" "$database.bak_v6"
|
|
for destination in "${destinations[@]}"
|
|
do
|
|
echo "UPDATE destination_files SET filename = REPLACE(filename,'${destinationpath[$destination]}/','') WHERE filename LIKE '${destinationpath[$destination]}/%';" >&3
|
|
done
|
|
Update atom version 7 <<<"1 = 1"
|
|
} |