[cron.daily/git_dirty_repo] oubli du #! + ajout du dépôt intranet2
This commit is contained in:
parent
de5b224d78
commit
c37f7b14f1
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,7 @@ info["owner"] = "root"
|
||||||
info["group"] = "root"
|
info["group"] = "root"
|
||||||
info["perms"] = 0755
|
info["perms"] = 0755
|
||||||
|
|
||||||
|
@#!/bin/bash
|
||||||
header()
|
header()
|
||||||
|
|
||||||
notifier_path = "/usr/scripts/utils/git-whatsnew"
|
notifier_path = "/usr/scripts/utils/git-whatsnew"
|
||||||
|
@ -24,3 +25,6 @@ if has("vert"):
|
||||||
|
|
||||||
if has("news-server"):
|
if has("news-server"):
|
||||||
print '%s --repository=/var/www/webnews --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
|
print '%s --repository=/var/www/webnews --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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue