From 7cb99fe1b2a35e3ceec0accface3b080a3a8e05f Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Wed, 25 Jan 2023 00:51:15 +0000 Subject: [PATCH] Update file executable_install-program --- home/dot_local/bin/executable_install-program | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 0137436a..969c6f2b 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -1155,13 +1155,13 @@ async function installPackageList(packageManager, packages) { try { if (pkg.substring(0, 4) === 'http') { log('info', 'AppImage Install', `Installing ${pkg} from its URL`) - runCommand('Installing ${pkg} via zap', `sudo zap install --select-first -q --from ${pkg}`) + runCommand('Installing ${pkg} via zap', `zap install --select-first -q --from ${pkg}`) } else if ((pkg.match(/\//g) || []).length === 1) { log('info', 'AppImage Install', `Installing ${pkg} from a GitHub Release`) - runCommand('Installing ${pkg} via zap', `sudo zap install --select-first -q --github --from ${pkg}`) + runCommand('Installing ${pkg} via zap', `zap install --select-first -q --github --from ${pkg}`) } else { log('info', 'AppImage Install', `Installing ${pkg} using the AppImage Catalog`) - runCommand('Installing ${pkg} via zap', `sudo zap install --select-first -q ${pkg}`) + runCommand('Installing ${pkg} via zap', `zap install --select-first -q ${pkg}`) } log('success', 'Install', `${pkg} successfully installed via ${packageManager}`) } catch (e) {