-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -665,7 +665,16 @@ elif [ "$1" == 'install' ] || [ "$1" == 'uninstall' ];then | |
#if this app just lists a package-name, set the appscript to install that package | ||
|
||
else #package-app: directly use apt to install what is mentioned in the packages file | ||
|
||
appscript=(bash -c -o pipefail "apt_lock_wait ; sudo -E apt $(echo "$action" | sed 's/uninstall/purge --autoremove/g') -yf $(read_packages_file "$app") 2>&1 | less_apt") | ||
|
||
#fix edge case: new will_reinstall function avoids a reinstall if packages to install do not change. | ||
#unfortunately updater script does not source the new api so chromium is being reinstalled after we added "| chromium" to the packages file. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Botspot
Author
Owner
|
||
#fix it here because new manage script sources the new api | ||
if [ "$3" == "update" ] && ! will_reinstall "$app" ;then | ||
#manage was told to reinstall app, but it does not actually need to. Do nothing | ||
appscript=(bash -c -o pipefail "status 'Not reinstalling $app as no changes would be made.\nYou should only see this message once. Exiting.'") | ||
fi | ||
fi | ||
|
||
#print to terminal | ||
|
this isn't true as far as I can tell.
all the (graphical) update modes call
update_now_gui
which sends all updatable apps/files as one argument toterminal_manage_multi
terminal_manage_multi
then sends that multiline input argument to manaage daemon mode that then operates on files and refreshes first (so that includes the api file if it has been updated) and then updatable applications. apps are updated through a call to the manage script which always sources the api file (which as explained already got updated).