glutanimate / PDFMtEd

View and modify PDF metadata on Linux graphically
GNU General Public License v3.0
189 stars 22 forks source link

Missing folders during installation #9

Open Julian-Hochhaus opened 5 years ago

Julian-Hochhaus commented 5 years ago

During the installation routine I got the two Error messages below. I am by far no expert and I don't know if these folders should normally exist and are only missing in my installation.

Error: Installation directory not found (/usr/local/share/applications)

Error: Installation directory not found (/usr/local/share/icons/hicolor/scalable/apps)

I have manually created the two folders and it works like a charm! If you need further information, let me know. Keep up the good work!

rnsavinelli commented 4 years ago

I had the same issue. I'm gonna try to submit a patch to prompt the user if the script should create the folders (if missing), or abort the installation.

Moteele commented 4 years ago

sudo mkdir -p /usr/local/share/icons/hicolor/scalable/apps should solve it

Julian-Hochhaus commented 4 years ago

sudo mkdir -p /usr/local/share/icons/hicolor/scalable/apps should solve it

Well I know, I created both directories manually too, but I thought it should be tested at least in the installation script if these folders exist and if not, the user should be asked, if he would like to create them to continue with installation

ifohancroft commented 3 years ago

Fixed by #19.