Files
zulip/tools/deprecated/include-supported.example
Tim Abbott 5e0b6b809a Clean up tools/ by deleting files and moving others to deprecated/
(imported from commit 57a8e6c3bd746e83e2d22e941a8321ead1396aef)
2015-09-20 00:18:48 -07:00

26 lines
677 B
Bash

#!/bin/sh
# include-supported -- include a package in multiple releases
#
# Copyright © 2013 Zulip, Inc. All rights reserved.
# This is an unpublished work of Zulip, Inc.
#
# Copy this to REPOROOT/bin/include-supported, mark it executable, and edit the
# constants below.
# Which distributions do you support?
DISTS="wheezy quantal raring"
# What type of file are we including, most of the time? Possibilities are
# "deb", "dsc", leave blank if "changes".
TYPE=""
# TYPE can be overridden by providing the type as the second parameter.
if [ $# = 2 ]; then
TYPE=$1
1=$2
fi
for dist in $DISTS; do
reprepro --ignore=wrongdistribution include$type $dist "$1"
done