| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | sanitizescip-shell shell shell-project 0.0.0 sanitize().() |
| 4 | { |
| 5 | sedscip-shell system . . sed. 's/[^[:alnum:]/]/_/g' |
| 6 | } |
| 7 | |
| 8 | if [scip-shell system . . `[`. -e "/etc/debian_versionscip-shell filesystem . . `/etc/debian_version`." ]; then |
| 9 | printfscip-shell system . . printf. "@@if not defined DEBIANVERSION\\n" |
| 10 | printfscip-shell system . . printf. "@@define DEBIANVERSION Debian/%s\\n" "$(headscip-shell system . . head. -n 1 /etc/debian_versionscip-shell filesystem . . `/etc/debian_version`. | sanitizescip-shell shell shell-project 0.0.0 sanitize().)" |
| 11 | printfscip-shell system . . printf. "@@endif\\n" |
| 12 | fi |
| 13 | if [scip-shell system . . `[`. -x "/usr/bin/lsb_releasescip-shell filesystem . . `/usr/bin/lsb_release`." ]; then |
| 14 | for parm in id description release codename; do |
| 15 | PARM="${LSB_}$(echoscip-shell system . . echo. "${parm}" | trscip-shell system . . tr. '[:lower:]' '[:upper:]')" |
| 16 | printfscip-shell system . . printf. "@@if not defined %s\\n" "${PARM}" |
| 17 | printfscip-shell system . . printf. "@@define %s %s\\n" "${PARM}" "$(/usr/bin/lsb_releasescip-shell filesystem . . `/usr/bin/lsb_release`. --short --"${parm}" | sanitizescip-shell shell shell-project 0.0.0 sanitize().)" |
| 18 | printfscip-shell system . . printf. "@@endif\\n" |
| 19 | done |
| 20 | fi |