more accurate solution for non-interactive update
authorChris Koeritz <fred@gruntose.com>
Wed, 21 Mar 2018 01:49:31 +0000 (21:49 -0400)
committerChris Koeritz <fred@gruntose.com>
Wed, 21 Mar 2018 01:49:31 +0000 (21:49 -0400)
commit9ec7a5da5c1dfc0ca264e2e166f2c19bcf4a51b2
tree3af20df6ec559344d2041e22ea088740fc951414
parentc70cef0f335b09a31133a97b0ab10de845a993e3
more accurate solution for non-interactive update

should work now, if the reference sites are right about the variable for non-interactive.  the var was not passed in before since sudo is not like a sub-shell.  now the two pieces needed, setting the var and running command that listens to var, are done in a single multi-line bash command.
scripts/system/naive_system_updater.sh