You are not logged in.
Hi, there.
I'm packaging a software. It'll install a GSettings schema. `make install` will install it completely.
But when I want to uninstall it, I wrote:
--
uninstall () { make uninstall }
--
No. It didn't do anything. So how can I uninstall it completely? ![]()
Best Regards,
Mike.
Last edited by ekd123 (2011-08-27 16:31:45)
Offline
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
that needs to be run at post_install, post_upgrade and post_remove in a .install file
Give what you have. To someone, it may be better than you dare to think.
Offline
Not sure what your problem is.
The schema file should be installed (and removed) just as any other files in the package, I think. However, you must include a glib-compile-schemas in post_install and post_remove. Make sure the package doesn't include schemas.compiled (or smth) file. More on that here https://wiki.archlinux.org/index.php/Gn … guidelines
Also, when making a package, everything should be installed in $pkgdir, not on the root fs. Therefore, no need for uninstall, pacman does that.
/usr/bin/drinking
Offline
Thank you very much! I almost forgot to use .install file.
Offline