Does leading slash matter in install scriptlets?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Many install scriptlets include the leading slash in file paths, e.g.

post_install() {
    update-desktop-database -q
    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}

while some strip the leading slash,

post_install() {
    update-desktop-database -q
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}

Would this make a difference with `pacman -S --root <path> <pkg>`?
If not, is there any case in which it would make a difference?


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux