[aur-general] Use of sudo in pkgbuild
Laurie Clark-Michalek
bluepeppers at archlinux.us
Wed Apr 8 06:12:15 EDT 2009
Ye, I've been thinking about this. My current feeling is to add
hicolour-icon-theme to opt-depends and then put an echo about updating the
icon cache in the post_install. Currently, hicolour-icon-theme is a depend
which seems rather overkill to me, and the icon cache is updated from
post_install
2009/4/8 Jan de Groot <jan at jgc.homeip.net>
> On Tue, 2009-04-07 at 20:06 +0000, Laurie Clark-Michalek wrote:
> > The pkg will not build if I don't have sudo enabled. It's because
> > gtk-update-icon-cache is used during the make install, regardless of
> > directory. See the error message below.
> >
> > gtk-update-icon-cache: Failed to open file
> > /usr/share/icons/hicolor/.icon-theme.cache : Permission denied
> > make: *** [install] Error 1
> > ==> ERROR: Build Failed.
>
> Wreck it out. First of all, a PKGBUILD should _NEVER_ touch the system
> it is built on. Second, hicolor icon caches should _NEVER_ be in any
> package, it should be generated from post_install.
>
>
More information about the aur-general
mailing list