Skip to content
Snippets Groups Projects
Commit d576c26b authored by Markus Frosch's avatar Markus Frosch
Browse files

icinga2: Add diff tool for OpenSuSE Build Service

parent 57e46058
No related branches found
No related tags found
No related merge requests found
diff-obs 0 → 100755
#!/bin/bash
set -e
project="$1"
if [ -z "$project" ]; then
project=server:monitoring
fi
if ! which osc &>/dev/null; then
echo "This script needs 'osc' to download files from OpenSuSE Build Service" >&2
exit 1
fi
osc cat "$project" icinga2 icinga2.spec >icinga2.obs.spec~
diff -Nau icinga2.spec icinga2.obs.spec~
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment