From 5b747d8f58d4e2e9a73b704a480f9015701e00f4 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 3 Jul 2020 17:43:27 -0400 Subject: [PATCH] indent and minor formatting --- .../router-arris-sb8200-source-code.html | 2 +- _site/technical-notes/setup.py-uninstall.html | 4 +- setup.sh | 50 ++++++++++--------- 3 files changed, 29 insertions(+), 27 deletions(-) diff --git a/_site/technical-notes/router-arris-sb8200-source-code.html b/_site/technical-notes/router-arris-sb8200-source-code.html index 67f7923..4af7e6c 100644 --- a/_site/technical-notes/router-arris-sb8200-source-code.html +++ b/_site/technical-notes/router-arris-sb8200-source-code.html @@ -22,7 +22,7 @@ in 2017. I've copied this from the web interface of the modem and publishing it here since I do not see it anywhere else online. At the bottom, there are a bunch of license texts and copyright holder notices that I've omitted.

-
Open Source Software Information
+
Open Source Software Information
 
 For instructions on how to obtain a copy of any source code being made publicly available by ARRIS related to software used in this ARRIS product you may send your request in writing to:
 
diff --git a/_site/technical-notes/setup.py-uninstall.html b/_site/technical-notes/setup.py-uninstall.html
index 5c87018..625f01e 100644
--- a/_site/technical-notes/setup.py-uninstall.html
+++ b/_site/technical-notes/setup.py-uninstall.html
@@ -30,14 +30,14 @@
 

Unix-like

Install over the existing installation with the same sources, recording installed files, then delete them.

-
sudo python setup.py install --record files.txt
+
sudo python setup.py install --record files.txt
 # inspect files.txt to make sure it looks ok. Then in bash:
 tr '\n' '\0' < files.txt | xargs -0 sudo rm -f --
 

Windows

Install on top of the existing installation with a windows installer, then add-remove programs to uninstall.

-
python setup.py bdist_wininst
+
python setup.py bdist_wininst
 dist/foo-1.0.win32.exe
 

Use other methods which fully support uninstall when available

diff --git a/setup.sh b/setup.sh index cd4dfaa..5452793 100755 --- a/setup.sh +++ b/setup.sh @@ -17,7 +17,7 @@ source /a/bin/errhandle/err usage() { - cat </dev/null || $s apt-get -y install ffmpeg pkgs=( - # build.rb dependencies - ruby-pygments.rb ruby-safe-yaml ruby-sass - # python pkgs used for o(n^2) voting blog entry - python-bcrypt python-passlib - # gitweb pkgs - gitweb highlight + # build.rb dependencies + ruby-pygments.rb ruby-safe-yaml ruby-sass + # python pkgs used for o(n^2) voting blog entry + python-bcrypt python-passlib + # gitweb pkgs + gitweb highlight ) if $deb8; then - pkgs+=(build-essential ruby-dev) + pkgs+=(build-essential ruby-dev) else - pkgs+=(ruby-redcarpet) + pkgs+=(ruby-redcarpet) fi - -$s apt-get -y install ${pkgs[@]} +source /a/bin/distro-functions/src/package-manager-abstractions +pi ${pkgs[@]} if $deb8; then - sudo gem install redcarpet + sudo gem install redcarpet fi chmod og+x _site/on2vote/vote.py @@ -141,7 +143,7 @@ our \$home_text = "$script_dir/_site/gitweb_home.html"; our \$projects_list_group_categories = 1; EOF -web-conf $email_arg -p $port - apache2 $domain < # to run python scripts with cgi -- 2.30.2