Description: Don't rely on tput and only install what's important
Author: Samuel Henrique <samueloph@debian.org>
Forwarded: not-needed
Index: o-saft/INSTALL.sh
===================================================================
--- o-saft.orig/INSTALL.sh
+++ o-saft/INSTALL.sh
@@ -295,7 +295,7 @@ osaft_modules="
 	"
 
 files_contrib="
-	contrib/Cert-beautify.awk contrib/Cert-beautify.pl contrib/Dockerfile.alpine-3.6 contrib/HTML-simple.awk contrib/HTML-table.awk contrib/INSTALL-template.sh contrib/JSON-array.awk contrib/JSON-struct.awk contrib/XML-attribute.awk contrib/XML-value.awk contrib/alertscript.cfg contrib/alertscript.pl contrib/bash_completion_o-saft contrib/bunt.pl contrib/bunt.sh contrib/cipher_check.sh contrib/critic.sh contrib/dash_completion_o-saft contrib/distribution_install.sh contrib/filter_examples contrib/fish_completion_o-saft contrib/gen_standalone.sh contrib/install_openssl.sh contrib/install_perl_modules.pl contrib/lazy_checks.awk contrib/symbol.pl contrib/tcsh_completion_o-saft contrib/usage_examples contrib/zap_config.sh contrib/zap_config.xml
+	contrib/Cert-beautify.awk contrib/Cert-beautify.pl contrib/Dockerfile.alpine-3.6 contrib/HTML-simple.awk contrib/HTML-table.awk contrib/INSTALL-template.sh contrib/JSON-array.awk contrib/JSON-struct.awk contrib/XML-attribute.awk contrib/XML-value.awk contrib/alertscript.cfg contrib/alertscript.pl contrib/bash_completion_o-saft contrib/bunt.pl contrib/bunt.sh contrib/cipher_check.sh contrib/critic.sh contrib/distribution_install.sh contrib/filter_examples contrib/fish_completion_o-saft contrib/gen_standalone.sh contrib/install_openssl.sh contrib/install_perl_modules.pl contrib/lazy_checks.awk contrib/symbol.pl contrib/tcsh_completion_o-saft contrib/usage_examples contrib/zap_config.xml
 		"
 
 files_install="
@@ -366,10 +366,8 @@ files_info="CHANGES README o-saft.tgz"
 # HARDCODED }
 
 osaft_subdirs="
-	$contrib_dir
 	Net
 	OSaft/Doc
-	docs
 	"
 
 osaft_exerc=".$osaft_exe"
@@ -380,7 +378,7 @@ all_exe="$osaft_exe $osaft_gui $osaft_sh
 
 _line='----------------------+-----------------'
 _cols=0
-\command -v \tput >/dev/null && _cols=`\tput cols`
+\command -v \tput >/dev/null && _cols=$(tput cols || echo "0")
 if [ 0 -lt $_cols ]; then
 	# adapt _line to screen width
 	[ -n "$OSAFT_MAKE" ] && _cols=78    # SEE Make:OSAFT_MAKE
@@ -652,7 +650,7 @@ if [ "$mode" = "dest" ]; then
 		# with --n continue, so we see what would be done
 	fi
 
-	files="$files_install $files_install_cgi $files_install_doc $files_contrib $osaft_one"
+	files="$files_install"
 	[ 0 -lt "$optx" ] && set -x
 	echo "# remove old files ..."
 	for f in $files ; do
