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

master 0.9.37
Daniel Napora 2023-05-14 23:35:12 +02:00
parent ab0f7815d2
commit 4a3eab634e
1 changed files with 1 additions and 2 deletions

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