Codebase list metche / 2c4544b
trunk: modified _MAIL_SUBJECT behaviour to also work with VServers intrigeri 18 years ago
2 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
7171
7272 email() {
7373 debug "* email $@"
74 local subject="$_MAIL_SUBJECT : $1"
74 local subject="`current_system` - $_MAIL_SUBJECT : $1"
7575 if [ $ENCRYPT_EMAIL = "yes" ]; then
7676 LC_ALL="$LOCALE" gpg --batch --armor --encrypt \
7777 --recipient "$EMAIL_ADDRESS" |
111111 VSERVERINFO=/usr/sbin/vserver-info
112112 VSERVER=/usr/sbin/vserver
113113
114 _MAIL_SUBJECT="`hostname -f` - changes report"
114 _MAIL_SUBJECT="changes report"
115115 _NO_DEBIAN_PACKAGES_CHANGE="No change in Debian packages state."
116116 _NO_CHANGE="No change."
117117
777777 milestone_version "stable-200507040202"
778778 milestone_version "testing-latest"
779779 milestone_date "testing-latest"
780 #report_changes "testing-latest" | email "testing-$DATE"
780781 ;;
781782
782783 *)
7474
7575 # Add your custom headers below
7676
77 #_MAIL_SUBJECT="`hostname -f` - changes report"
77 #_MAIL_SUBJECT="changes report"
7878 #_NO_DEBIAN_PACKAGES_CHANGE="No change in Debian packages state."
7979 #_NO_CHANGE="No change."
8080 #MAIN_HEADER=""