also add the red for new/NEW package
Sylvestre Ledru
4 years ago
0 | 0 | #!/bin/bash |
1 | 1 | |
2 | 2 | . ./vars.sh.frag |
3 | ||
4 | RED=`echo -e "\033[1;31m"` | |
5 | NC=`echo -e "\033[0m"` | |
3 | 6 | |
4 | 7 | if test ! -d $PKGDIR_REL; then |
5 | 8 | abort 1 "Cannot find $PKGDIR_REL. Did you run ./new-package.sh before?" |
152 | 155 | |
153 | 156 | if [ -z "$unstable_bin_packages" ]; then |
154 | 157 | cat <<eof |
158 | ${RED} | |
155 | 159 | Since this is a NEW source package not already in the Debian archive, you will need to build a binary package out of it. |
156 | 160 | |
157 | 161 | For your reference, this source package builds $(echo "$upload_bin_packages" | wc -l) binary package(s): |
158 | 162 | $upload_bin_packages |
163 | ${NC} | |
159 | 164 | eof |
160 | 165 | |
161 | 166 | else |
175 | 180 | |
176 | 181 | else |
177 | 182 | |
178 | RED=`echo -e "\033[1;31m"` | |
179 | NC=`echo -e "\033[0m"` | |
180 | 183 | cat <<eof |
181 | 184 | ${RED} |
182 | 185 | ATTENTION: this upload introduces NEW binary packages not already in the Debian |