X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=setup.sh;h=cd4dfaa3358e99e49435790293423e9c06551e52;hp=ed295eb9172a36a04973c8458da522565c2a4c47;hb=35dea67c2f972fe7552820841f7c550129a6add0;hpb=40a23f7b31f66e154128ca5cd59ff54221035a3b
diff --git a/setup.sh b/setup.sh
index ed295eb..cd4dfaa 100755
--- a/setup.sh
+++ b/setup.sh
@@ -14,13 +14,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-
-set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
+source /a/bin/errhandle/err
usage() {
cat </dev/null || $s apt-get -y install apache2
type -P sqlite3 &>/dev/null || $s apt-get -y install sqlite3
+type -P ffmpeg &>/dev/null || $s apt-get -y install ffmpeg
pkgs=(
@@ -138,7 +141,7 @@ our \$home_text = "$script_dir/_site/gitweb_home.html";
our \$projects_list_group_categories = 1;
EOF
-web-conf -p $port - apache2 $domain <
# to run python scripts with cgi