文件操作 - install-language-pack
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/locales/install-language-pack
编辑文件内容
#!/bin/sh -e if [ -z "$1" ]; then echo "Usage: $0 <language code> <class> [<version>]" exit 0 fi # install locales for base packages (not for gnome/kde) if [ -z "$2" ]; then # Update requested locales if locales-all is not installed if dpkg-query -s locales-all >/dev/null 2>&1 ; then echo "locales-all installed, skipping locales generation" else /usr/sbin/locale-gen --keep-existing "$1" fi fi # ensure that .desktop caches are up to date dpkg-trigger gmenucache || true
修改文件时间
将文件时间修改为当前时间的前一年
删除文件