migration.sh: remove all old glcd_ keywords

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7bb0540771
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-07-14 (Tue, 14 Jul 2020)

Origin message was:
------------------
- migration.sh: remove all old glcd_ keywords

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2020-07-14 23:27:55 +02:00
parent 184a0eb48a
commit fa629c0e4e

View File

@@ -19,6 +19,11 @@ if [ -e neutrino.conf ]; then
mv /var/tuxbox/config/webtv_usr.xml /var/tuxbox/webtv/
fi
# remove all old glcd_ keywords; neutrino will add the new ones
if ! grep -q glcd_foreground_color neutrino.conf ; then
sed -i "/^glcd_/d" neutrino.conf
fi
sort neutrino.conf > neutrino.sort
mv neutrino.sort neutrino.conf
fi