various fixes
[distro-setup] / distro-end
index 4fb10dbf1291d2e3e905b64b3c831e51a96c1ba0..6625799d450e951f2c39bc6edd7ccd69626fa678 100755 (executable)
@@ -87,6 +87,7 @@ case $HOSTNAME in
             fdupes
             feh
             filelight
+            flashrom
             gawk-doc
             gcc-doc
             gdb
@@ -118,6 +119,7 @@ case $HOSTNAME in
             nginx-doc
             nmap
             offlineimap
+            oathtool
             p7zip
             paprefs
             parted-doc
@@ -130,6 +132,7 @@ case $HOSTNAME in
             python-autopep8
             python3-doc
             python3-mutagen
+            qrencode
             reportbug
             $(aptitude show ruby | sed -rn 's/Depends: (.*)/\1/p')-doc
             sqlite3-doc
@@ -592,6 +595,7 @@ EOF
 
         ############# end setup mastodon ##############
 
+        # we use nsupdate to update the ip of home
         pi bind9
 
         echo "$0: $(date): ending now)"
@@ -1671,7 +1675,7 @@ if [[ $HOSTNAME == treetowl ]]; then
     # path: k/music. Then copied the file
     # /p/c/subdir_files/.kodi/userdata/sources.xml to save that setting.
     s a2enmod dav dav_fs
-    web-conf -r /a/c/playlists - apache2 dav.iank.pw <<'EOF'
+    web-conf -r /a/c/playlists - apache2 dav.$HOME_DOMAIN <<'EOF'
 <Directory /a/c/playlists>
     DAV On
   AuthType Basic
@@ -1686,7 +1690,7 @@ if [[ $HOSTNAME == treetowl ]]; then
 EOF
     s mkdir -p /var/www/davlock
     s chown www-data:www-data /var/www/davlock
-    s sed -i "1i DavLockDB /var/www/davlock/davlock" /etc/apache2/sites-enabled/dav.iank.pw.conf
+    s sed -i "1i DavLockDB /var/www/davlock/davlock" /etc/apache2/sites-enabled/dav.$HOME_DOMAIN.conf
     ser reload apache2
 
     teeu /etc/exports "/k/music *(ro,nohide,async,no_subtree_check,insecure)"