Changeset 573 in MondoRescue for branches/stable
- Timestamp:
- May 24, 2006, 6:48:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/distro-env
r572 r573 43 43 export ddir="gentoo" 44 44 export dver=`awk '{print $5}' /etc/gentoo-release | cut -d. -f1-2` 45 elif [ -e /etc/debian_version ]; then 46 export ddir="debian" 47 export dver=`cat /etc/debian_version` 48 # Debian assigns release names only once a release actually happens. 49 # Debian does not distinguish between testing and unstable because 50 # unstable today is what testing will be in about ten days time. So, 51 # in case we encounter "tesing/unstable", we assume unstable, i.e. sid. 52 # Note that for released versions, the numeric version will be contained 53 # in debian_version, e.g. on a sarge system, the value will be '3.1'. 54 if [ $dver = "testing/unstable" ]; then 55 export dver = "sid" 56 fi 45 57 else 46 58 export ddir="unknown"
Note:
See TracChangeset
for help on using the changeset viewer.