do not allow to edit other themes than MBcolors in ~/.themes
This commit is contained in:
parent
ab0f7815d2
commit
4a3eab634e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user