mkdir: missing operand

Asked by robiwolf

When I'm triing to set imdb-thumbnailer for thunar i've got the following error:
mkdir: missing operand
For more informations tipe "mkdir --help"
>/home/robiwolf/.local/share/thumbnailers/imdb.desktop

The script is ok for nautilus but it's not working for thunar for me. I'm using 0.8.7 from Launchpad, the deb version... I'm runing Chrunchbang Waldorf. Any suggestion? (Sorry for bad English)

Question information

Language:
English Edit question
Status:
Answered
For:
imdb-thumbnailer Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andrew (unsuspectinghero) said :
#1

The line "mkdir -p ${configFile%/*}" fails because configFile is a local variable in the "set_thumbnailer_for_nautilus" function.

This is the one that gives the error.

It can be fixed by changing it to "mkdir -p ${desktopFile%/*}" (because desktopFile is the equivalent local variable for the "set_thumbnailer_for_thunar" function).

Can you help with this problem?

Provide an answer of your own, or ask robiwolf for more information if necessary.

To post a message you must log in.