2014-05-01 16:24:37 +00:00
|
|
|
export DISTRO_NAME=opensuse
|
2016-09-16 10:04:56 +00:00
|
|
|
export DIB_RELEASE=${DIB_RELEASE:-13.1}
|
|
|
|
case ${DIB_RELEASE} in
|
|
|
|
# Old openSUSE releases
|
|
|
|
13*) export OPENSUSE_REPO_DIR=openSUSE_${DIB_RELEASE} ;;
|
|
|
|
# New Leap releases
|
|
|
|
42*) export OPENSUSE_REPO_DIR=openSUSE_Leap_${DIB_RELEASE} ;;
|
|
|
|
*) echo "Unsupported openSUSE release: ${DIB_RELEASE}"; exit 1 ;;
|
|
|
|
esac
|