Created
March 11, 2015 09:30
-
-
Save lazyfrosch/4b0284233b362a108412 to your computer and use it in GitHub Desktop.
reprepro all distributions, for multiple archives
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| ACTION="$1" | |
| shift | |
| for i in debian raspbian ubuntu; do | |
| ( | |
| cd $i | |
| echo "----- $i -----" | |
| for dist in `grep Suite: conf/distributions | cut -d' ' -f2`; do | |
| reprepro "$ACTION" "$dist" "$@" | |
| done | |
| ) | |
| done | |
| # vi: ts=2 sw=2 expandtab : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment