diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-10-25 21:40:51 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-10-25 21:40:51 -0200 |
commit | 5e91f3499bb3144e9a26024810f63497cb129384 (patch) | |
tree | 69c64632c85644dc83b5917b75ef71c7f0edf111 /social/babeld/babeld.install | |
parent | 59d6f464d8fd2f77f7c77afbc09aad6722cf68ba (diff) | |
parent | 11038949ee73ffd8ed0d4982fab93fe709d701d0 (diff) | |
download | abslibre-5e91f3499bb3144e9a26024810f63497cb129384.tar.gz abslibre-5e91f3499bb3144e9a26024810f63497cb129384.tar.bz2 abslibre-5e91f3499bb3144e9a26024810f63497cb129384.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'social/babeld/babeld.install')
-rw-r--r-- | social/babeld/babeld.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/social/babeld/babeld.install b/social/babeld/babeld.install new file mode 100644 index 000000000..686153617 --- /dev/null +++ b/social/babeld/babeld.install @@ -0,0 +1,18 @@ +compatibility_warning() { + echo "PLEASE NOTE:" + echo " " + echo "-------------------------------------------------------------" + echo " This version uses the IANA-allocated UDP port and multicast" + echo " group and is therefore incompatible with older versions." + echo "-------------------------------------------------------------" +} + +post_upgrade() { + major=$(echo $2 | cut -d '.' -f1) + minor=$(echo $2 | cut -d '.' -f2) + if [ $major -lt 1 ]; then + compatibility_warning + elif [ $major -eq 1 -a $minor -lt 1 ]; then + compatibility_warning + fi +} |