Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=ad891bcb7c62583d044d566c139f5e666cb3c0e5
commit ad891bcb7c62583d044d566c139f5e666cb3c0e5 Author: James Buren <[email protected]> Date: Mon Jan 7 08:33:16 2013 -0600 hooks.sh: remove diff --git a/etc/pacman-g2/hooks/hooks.sh b/etc/pacman-g2/hooks/hooks.sh deleted file mode 100644 index 8b0b6dc..0000000 --- a/etc/pacman-g2/hooks/hooks.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -# Hooks should avoid using external binaries whenever possible. -# There's no telling if they'll be available when a hook is called. - -do_fonts() -{ - local _mkfontscale - local _mkfontdir - local _fccache - - _mkfontscale="/usr/bin/mkfontscale" - _mkfontdir="/usr/bin/mkfontdir" - _fccache="/usr/bin/fc-cache" - - for i in /usr/share/fonts/X11/*; do - if [ -d "$i" ]; then - if [ -x "$_mkfontscale" ]; then - "$_mkfontscale" "$i" - fi - if [ -x "$_mkfontdir" ]; then - "$_mkfontdir" "$i" - fi - if [ -x "$_fccache" ]; then - "$_fccache" --force "$i" - fi - fi - done - - return 0 -} _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
