mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Removed an unnecessary file modification from update_version_string.sh
This commit is contained in:
parent
5482950689
commit
0b6e8b588f
|
@ -10,13 +10,12 @@
|
|||
# The script has to be run from within the tools directory.
|
||||
#
|
||||
# Example use:
|
||||
# ./update_version_string.sh 1 0 0 beta1
|
||||
# ./update_version_string.sh 1 2 0 beta1
|
||||
#
|
||||
# The following files are updated by this script:
|
||||
# es-app/CMakeLists.txt
|
||||
# es-app/src/EmulationStation.h
|
||||
# es-app/assets/EmulationStation-DE_Info.plist
|
||||
# es-app/assets/emulationstation.desktop
|
||||
#
|
||||
# This script is only intended to be used on Linux systems.
|
||||
#
|
||||
|
@ -103,13 +102,4 @@ NEWSTRING="<string>${1}.${2}.${3}${SUFFIX}"
|
|||
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
||||
mv $TEMPFILE $MODIFYFILE
|
||||
|
||||
##### emulationstation.desktop
|
||||
|
||||
MODIFYFILE=../es-app/assets/emulationstation.desktop
|
||||
MODIFYSTRING=$(grep "Version=" $MODIFYFILE)
|
||||
NEWSTRING="Version=${1}.${2}.${3}${SUFFIX}"
|
||||
|
||||
cat $MODIFYFILE | sed s/"${MODIFYSTRING}"/"${NEWSTRING}"/ > $TEMPFILE
|
||||
mv $TEMPFILE $MODIFYFILE
|
||||
|
||||
echo "Done updating, don't forget to run generate_man_page.sh once the binary has been compiled with the new version string."
|
||||
|
|
Loading…
Reference in a new issue