We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b630362 commit 986aa4fCopy full SHA for 986aa4f
deb-get
@@ -2426,8 +2426,8 @@ if [ -e /etc/os-release ]; then
2426
#Debian VERSION_CODENAME=$(grep VERSION_CODENAME /etc/os-release | cut -d'=' -f2 | sed 's/"//g')
2427
UPSTREAM_ID="$(grep "^ID=" /etc/os-release | cut -d'=' -f2)"
2428
UPSTREAM_ID_LIKE="$(grep "^ID_LIKE=" /etc/os-release | cut -d'=' -f2 | sed s/\"//g | cut -d' ' -f1)"
2429
- if [ ! -z "$UPSTREAM_ID_LIKE" ]; then
2430
- UPSTREAM_ID=$UPSTREAM_ID_LIKE
+ if [ ! -z "${UPSTREAM_ID_LIKE}" ]; then
+ UPSTREAM_ID="${UPSTREAM_ID_LIKE}"
2431
fi
2432
case "${UPSTREAM_ID}" in
2433
debian) UPSTREAM_CODENAME=$(grep VERSION_CODENAME /etc/os-release | cut -d'=' -f2);;
0 commit comments