2 # $Id: updmap-sys.sh 35626 2014-11-20 19:08:47Z karl $
3 # updmap-sys - arrange for updmap to affect system directories.
4 # Public domain. Originally written by Thomas Esser.
6 test -f /bin
/ksh
&& test -z "$RUNNING_KSH" \
7 && { UNAMES
=`uname -s`; test "x$UNAMES" = xULTRIX
; } 2>/dev
/null \
8 && { RUNNING_KSH
=true
; export RUNNING_KSH
; exec /bin
/ksh
$0 ${1+"$@"}; }
11 test -f /bin
/bsh
&& test -z "$RUNNING_BSH" \
12 && { UNAMES
=`uname -s`; test "x$UNAMES" = xAIX
; } 2>/dev
/null \
13 && { RUNNING_BSH
=true
; export RUNNING_BSH
; exec /bin
/bsh
$0 ${1+"$@"}; }
16 # preferentially use subprograms from our own directory.
17 mydir
=`echo "$0" | sed 's,/[^/]*$,,'`
18 mydir
=`cd "$mydir" && pwd`
19 PATH
="$mydir:$PATH"; export PATH
21 # hack around a bug in zsh:
22 test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
24 exec updmap
--sys ${1+"$@"}