do not allow to edit other themes than MBcolors in ~/.themes

This commit is contained in:
Daniel Napora 2023-05-14 23:35:12 +02:00
parent ab0f7815d2
commit 4a3eab634e

View File

@ -149,8 +149,7 @@ case "$LANG" in
esac
if [ -f "$THEMERC" ]; then
if [[ -f "$THEMERC" ]] && [[ "$OBTHEME" = "MBcolor"* ]]; then
if [ ! -f "${THEMERC}.bak" ]; then
cp ${THEMERC} ${THEMERC}.bak
#check if lines, and add missing