changeset 905:d6cce2e5cca6

update for modern Ubuntu 22.04
author Jeff Hammel <k0scist@gmail.com>
date Wed, 10 Apr 2024 08:47:01 -0700
parents 30006a5583fa
children c70f4644c2aa
files python/install_config.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/python/install_config.py	Thu Apr 11 08:23:38 2024 -0700
+++ b/python/install_config.py	Wed Apr 10 08:47:01 2024 -0700
@@ -125,7 +125,7 @@
         Step.__call__(self)
         self.write_hgrc()
 
-        # get the which command
+        # get the `which` command
         sys.path.append(os.path.join(HOME, 'python'))
         from which import which
 
@@ -162,7 +162,6 @@
 
 class DebianPackages(Step):
     """ubuntu packages to install"""
-    # TODO: actually install packages
 
     PACKAGES=["antiword",
               "arandr",
@@ -186,9 +185,9 @@
     ]
 
     def __call__(self):
-        # TODO: actually install this shit
+        # TODO: actually install these packages
         print ("Ensure the following packages are installed:")
-        print ("sudo apt-get install %s" % ' '.join(self.PACKAGES))
+        print ("sudo apt install -y %s" % ' '.join(self.PACKAGES))
 
 
 ### CLI