You are not logged in.
Pages: 1
I've found that lot of packages have this error.
In the .install file the follow line:
update-mime-database usr/share/mime > /dev/null 2>&1should be:
update-mime-database /usr/share/mime > /dev/null 2>&1because if you are not in the / root when you use pacman the mime type aren't updated correctly
Offline
You already reported https://bugs.archlinux.org/task/26768 :-)
Offline
I think it's a feature for a proper installation when using the --root flag. ![]()
Arch64/DWM || My Dropbox referral link
Offline
I think it's a feature for a proper installation when using the --root flag.
Sorry but it doesn't make any sense, since if i'm the person that make the PKGBUILD i know where i'm installing my packages
Offline
pacman changes to / before running the install script. So this call is perfectly fine and even preferred; there is no bug here.
Offline
pacman changes to / before running the install script. So this call is perfectly fine and even preferred; there is no bug here.
So, just for curiosity why in the same .install file there is one call with / and one call without /
gtk-update-icon-cache -f -q /usr/share/icons/hicolor
update-desktop-database -q
update-mime-database usr/share/mime > /dev/null 2>&1Offline
So, just for curiosity why in the same .install file there is one call with / and one call without /
gtk-update-icon-cache -f -q /usr/share/icons/hicolor update-desktop-database -q update-mime-database usr/share/mime > /dev/null 2>&1
That's a bug. The first '/' should be removed. We are slowly fixing them.
Offline
gspe wrote:So, just for curiosity why in the same .install file there is one call with / and one call without /
gtk-update-icon-cache -f -q /usr/share/icons/hicolor update-desktop-database -q update-mime-database usr/share/mime > /dev/null 2>&1That's a bug. The first '/' should be removed. We are slowly fixing them.
Thanks for your reply.
Now everything it's more clear
Offline
What's with this example from vlc.install:
rm -f usr/lib/vlc/plugins/plugins-*.datWith or without '/' before 'usr'?
Offline
works both ways this days
Last edited by wonder (2011-11-07 22:18:33)
Give what you have. To someone, it may be better than you dare to think.
Offline
Pages: 1