diff options
author | Daniil Baturin <daniil@baturin.org> | 2015-04-03 20:13:57 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-04-03 20:13:57 +0200 |
commit | 5e875b76c73e28225e5dc0dc0f30abb113305cad (patch) | |
tree | 6ab50843a555e64a76121b4cd28ad206e62ca707 /debian/vyatta-cfg.postinst.in | |
parent | 4ecf752ebc3dfbb87a5de14f4b139792e566edc7 (diff) | |
download | vyatta-cfg-5e875b76c73e28225e5dc0dc0f30abb113305cad.tar.gz vyatta-cfg-5e875b76c73e28225e5dc0dc0f30abb113305cad.zip |
Bug #538: add scripts for running user commit hooks.
Diffstat (limited to 'debian/vyatta-cfg.postinst.in')
-rw-r--r-- | debian/vyatta-cfg.postinst.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in index 7ad9339..f840803 100644 --- a/debian/vyatta-cfg.postinst.in +++ b/debian/vyatta-cfg.postinst.in @@ -46,3 +46,7 @@ rm -f /etc/bash_completion.d/20vyatta-cfg # create symlink for post commit hook ln -sf /opt/vyatta/sbin/vyatta-log-commit.pl /etc/commit/post-hooks.d/10vyatta-log-commit.pl + +ln -s /opt/vyatta/sbin/vyos-user-precommit-hooks.sh /etc/commit/pre-hooks.d/99vyos-user-precommit-hooks +ln -s /opt/vyatta/sbin/vyos-user-postcommit-hooks.sh /etc/commit/pre-hooks.d/99vyos-user-postcommit-hooks + |