/useful/trunk-1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/useful/trunk-1

« back to all changes in this revision

Viewing changes to scripts/do-offline-updates.sh

  • Committer: Gustav Hartvigsson
  • Date: 2024-11-02 21:33:51 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20241102213351-80kgj6tqguc7da18
Forgot to trigger the offline update...

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
}
63
63
 
64
64
function __download_updates () {
65
 
  pkcon update --download-only
 
65
  pkcon update --only-download
66
66
  if [[ $? == 0 ]];then
67
67
    __UPDATES_AVAILABLE=true
68
68
  else
73
73
}
74
74
 
75
75
function __reboot () {
 
76
  pkcon offline-trigger
76
77
  echo "reboot"
77
78
  eval $__REBOOT_COMMAND
78
79
}