Use the svg for the icon on linux + copy SL Modules as part of the setup script
This commit is contained in:
+7
-1
@@ -7,7 +7,12 @@ if [ "$(id -u)" -ne 0 ]; then
|
||||
fi
|
||||
|
||||
copy_sl_config() {
|
||||
if [ -e "/opt/itgmania/Themes/Simply Love.old/$1" ]; then
|
||||
if [ -d "/opt/itgmania/Themes/Simply Love.old/$1" ]; then
|
||||
# Don't overwrite any existing files.
|
||||
# This lets us retain the updated readmes and other files that come with the new release.
|
||||
cp -r -n "/opt/itgmania/Themes/Simply Love.old/$1" "/opt/itgmania/Themes/Simply Love/$1"
|
||||
return
|
||||
elif [ -f "/opt/itgmania/Themes/Simply Love.old/$1" ]; then
|
||||
cp "/opt/itgmania/Themes/Simply Love.old/$1" "/opt/itgmania/Themes/Simply Love/$1"
|
||||
fi
|
||||
}
|
||||
@@ -26,6 +31,7 @@ ln -sf /opt/itgmania/itgmania.desktop /usr/share/applications
|
||||
if [ -d /opt/itgmania/Themes/Simply\ Love.old ]; then
|
||||
copy_sl_config Other/SongManager\ PreferredCourses.txt
|
||||
copy_sl_config Other/SongManager\ PreferredSongs.txt
|
||||
copy_sl_config Modules
|
||||
|
||||
rm -rf /opt/itgmania/Themes/Simply\ Love.old
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user