404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.139.55.72: ~ $
#!/bin/sh -pe

homedir=$1
language=$2
validated_language=

[ -n "$language" -a -n "$homedir" ] || exit 1

langtoolsdir=/usr/share/language-tools

validated_language=$( $langtoolsdir/language-validate $language )

if ! dpkg -l language-selector-gnome > /dev/null 2>&1; then
    renewed_langlist=$validated_language
elif [ $language = "${language%:*}" ]; then
    renewed_langlist=$( $langtoolsdir/update-langlist $validated_language "$homedir" )
else
    # $language contains a priority list
    renewed_langlist=$validated_language:${language#*:}
fi

locale_name=$( $langtoolsdir/language2locale $validated_language )

( $langtoolsdir/save-to-pam-env "$homedir" $locale_name $renewed_langlist ) || exit 1

echo $validated_language


Filemanager

Name Type Size Permission Actions
language-options File 2.78 KB 0755
language-validate File 1.79 KB 0755
language2locale File 1.75 KB 0755
locale2papersize File 320 B 0755
main-countries File 420 B 0644
save-to-pam-env File 1.03 KB 0755
set-language-helper File 732 B 0755
update-langlist File 1.36 KB 0755