Closed phdxpahob closed 2 years ago
I updated the Arch aur package with this patch. It should install clean now.
diff --git a/SConstruct b/SConstruct
index 369949a..bbe2f42 100644
--- a/SConstruct
+++ b/SConstruct
@@ -282,7 +282,7 @@ for target in docs + ['examples', 'machines']:
env.Install(prefix + '/share/camotics/', 'tpl_lib')
env.Install(prefix + '/share/pixmaps', 'images/camotics.png')
env.Install(prefix + '/share/applications', 'CAMotics.desktop')
-env.Install(prefix + '/share/mime/packages/camotics.xml', 'mime.xml')
+env.InstallAs(prefix + '/share/mime/packages/camotics.xml', 'mime.xml')
description = '''CAMotics is an Open-Source software which can simulate
3-axis NC machining. It is a fast, flexible and user friendly simulation
Hello everyone!
I am using Manjaro linux, but as far as I know it is tightly based on Arch, so it should have the same issue; given that it is not critical to compilation probably it's not reported yet.
When I build the package with yay/makepkg and installing it, it gives the following output:
Which is not a critical error but somehow it is not "clean" install.
To resolve this issue one must either correct it manually in
/usr/share/mime/packages/
to remove the directory and rename the filemime.xml
with it, or go to the build directory and modifySConstruct
, line 285:This resolves the failure to update the MIME database on package installation(s).
Version and system information:
Since I'm not sure how it is on other distributions (even variants of Arch based), I'm posting here for discussion. Also, please notify me if addtional information is required.