文件操作 - notify-updates-outdated
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/update-notifier/notify-updates-outdated
编辑文件内容
#!/bin/sh # we do not include ". gettext.sh" here because: # a) it breaks if its not available # b) the string we have here does not need it (because it has no vars) eval_gettext() { if [ -x /usr/bin/gettext ]; then echo $(gettext "$1") else echo "$1" fi } export TEXTDOMAIN=update-notifier export TEXTDOMAINDIR=/usr/share/locale # Print the message echo "" eval_gettext "The list of available updates is more than a week old." eval_gettext "To check for new updates run: sudo apt update"
修改文件时间
将文件时间修改为当前时间的前一年
删除文件