Hello everyone, I follow up the blog page of BarryK, and I saw that you could use shellCMS, I am currently trying to replicate the instructions in the site https://bkhome.org/shellcms/installing- ... -blog.html but even changing the EDITOR variable from "geany -i" to another editor I continue getting the same error, I've followed the instructions as the post states.
Code: Select all
./shellcms www/news post
./shellcms: line 1630: [: /media/latvia/60c94893-3a9c-40a9-96ea-4b0bfaaec9f1/ADevJournal/shellcms/geany: binary operator expected
EDITOR='geany -i' PWD='/media/latvia/60c94893-3a9c-40a9-96ea-4b0bfaaec9f1/ADevJournal/shellcms/www/news'
EDITOR variable in 'config' file is invalid, aborting
I am using ubuntu and not a puppy/EasyOs distro. I have also checked the bash script, and at the begining of the script I've found this, i have also installed geany
Code: Select all
# Config file. Any settings "key=value" written there will override the
# global_variables defaults. Useful to avoid editing shellcms and having to deal
# with merges in VCS
global_config="./cms_config/config"
#20211201 may need to change... 20220520 fix...
if which seamonkey >/dev/null; then
EDITOR='mozeditor'
else
if which bluegriffon >/dev/null;then
EDITOR='bluegriffon'
else
EDITOR="geany -i"
fi
fi
Not sure why shellCMS is trying the editors before trying the one on the config file in the ".cms_config/config". I could manually switch in the if geany -i or any other of the options in the script but not sure if that's the expected behavior.
Feel free to ask me any other questions.