31 lines
1.3 KiB
Text
31 lines
1.3 KiB
Text
# -*- encoding: utf-8 -*-
|
|
|
|
info["owner"] = "root"
|
|
info["group"] = "root"
|
|
info["perms"] = 0755
|
|
|
|
@#!/bin/bash
|
|
header()
|
|
|
|
notifier_path = "/usr/scripts/utils/git-whatsnew"
|
|
default_from = "roots@crans.org"
|
|
default_to = "roots@crans.org"
|
|
|
|
if has("crans-nfs"):
|
|
print '%s --repository=/usr/scripts --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
|
print '%s --repository=/usr/scripts/lc_ldap --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
|
print '%s --repository=/usr/scripts/intranet --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
|
print '%s --repository=/usr/scripts/wifi_new --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
|
print '%s --repository=/usr/scripts/src/mac_ip --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
|
|
|
if has("bcfg2"):
|
|
print '%s --repository=/var/lib/bcfg2 --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
|
|
|
if has("vert"):
|
|
print '%s --repository=/root/cranspasswords --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
|
|
|
if has("news-server"):
|
|
print '%s --repository=/var/www --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
|
|
|
if has("intranet2-server"):
|
|
print '%s --repository=/usr/local/django/intranet --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|