В Tue, 22 Mar 2016 09:12:03 +0300 Victor Wagner <vitus@wagner.pp.ru> пишет: > CODENAME=`echo $VERSION|sed -e 's/^.*(//' -e 's/)//'` В 9-ке в os-release нет переменной VERSION, если что. % cat /etc/os-release PRETTY_NAME="Debian GNU/Linux stretch/sid" NAME="Debian GNU/Linux" ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"