X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=setup.sh;h=a68c4fc7e0a6ff9d10ba02e417a637cc0ff57d37;hp=8e8e259ab6a9d41d602bb261c9f3e2d34bc134ab;hb=6ae93360501151f3625f6d988cee7047b7acc786;hpb=5afcc5b633874e8003fb541535994e048f972d4d diff --git a/setup.sh b/setup.sh index 8e8e259..a68c4fc 100755 --- a/setup.sh +++ b/setup.sh @@ -28,7 +28,7 @@ Setup dependencies, apache, and gitweb. Then call build.rb. Default DOMAIN_NAME is iankelling.org. Domain is expected to resolve so we can get a let's encrypt cert. --p PORT Apache port, default is *:443. +-p PORT Apache port, default is 443. -h|--help Print help and exit. Note: Uses GNU getopt options parsing style @@ -38,7 +38,7 @@ EOF ##### begin command line parsing ######## -port="*:443" +port=443 temp=$(getopt -l help, p:h "$@") || usage 1 eval set -- "$temp" while true; do @@ -128,12 +128,14 @@ our \$site_footer = '$PWD/_site/gitweb-footer.html'; push @stylesheets, "/css/gitweb-site.css"; our \$favicon = '/assets/favicon.png'; # default is 25, cuts off descriptions. -our \$projects_list_description_width = 40; +our \$projects_list_description_width = 50; # a bit superflous since they are all me our \$omit_owner = true; # highlight scripts with no extension, uses a patch # that is on it's way upstream. our \$highlight_force = 1; +our \$home_text = "$script_dir/_site/gitweb_home.html"; +our \$projects_list_group_categories = 1; EOF apache-site -p $port - $domain <