Skip to content

Commit

Permalink
[eos-apps-info] check for yad existence; small manuals update
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-192 committed Aug 1, 2024
1 parent 3251702 commit 4700d69
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 28 deletions.
6 changes: 3 additions & 3 deletions eos-apps-info/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=eos-apps-info
pkgdesc="Documentation about apps in the EndeavourOS repository."
pkgver=24.6.1
pkgver=24.7
pkgrel=1
arch=('any')
license=('GPL')
Expand Down Expand Up @@ -32,12 +32,12 @@ source=(
$_url/${pkgname}-pages.tar.gz
)

sha512sums=('be26da9037149c7801d9aa075bcf9e7feefe82aeba583587acb61e3dbf8fb2ae16e055dbd40e4003104860944a336c6e908d43db963de37aff71c0ab01b9ee18'
sha512sums=('63fb5aa02179c7788b8f635075f63cbcb81b509d18e41a25412282499328fb1726edbfb27ea9799eb1592a5855a786ac13e41c31117614bd4fd6ecfb6870b321'
'264b2ce9f3981728bb45e52ab9d2ec782a5e9a291ca2b9249a5558529f4717c868545524677185cb5cc2f370f373818dd2c690fa79f1a107c34c65b3d6ea53a0'
'53e387eb1af9693dce6cc83636de399fc8ceedbce3e237c51c84e330766caec728808a2cf65ab653289b5da7c0648f47d17009f3e3669a15ddb0eb7772bae073'
'8a0692ff5e714a0690c7a90d04a928b2edf2e01515f8707b345d0da36ee95cab7f4f9badf3dca6cbd280438a08519957c5852be92e7936da9f0affef3d895b17'
'4b5eef3ce297cfa66d38b6ad92739eee905050228f72bd2c58d7f05700269b0ef434b0aa5c6ff8423a98af33918089f1255858bd2385ef3db2967d71e0d1d350'
'0c72506bf26f8baf878df56c5f327de14093da5f52c1e1710e51f83d272d1a1221ee8ca3fcf345a6a79e40e7accc06c9179da23966ad3e72d975fb69b8acfeb3')
'3c2ddc36c0a3e0cab0238c79031b4a480a8348d34e61f7d32588a67ff6564a0a77f3bb1ff6c08ccf8a394b7d0b91564ff4f65375b48053b507cf41b3a2e5aa80')

package() {
local xx
Expand Down
3 changes: 2 additions & 1 deletion eos-apps-info/eos-apps-info
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ BonusApps2cmd() {

Main()
{
local progname=${0##*/}
source /usr/share/endeavouros/scripts/eos-script-lib-yad || return 1
local progname="$(basename "$0")"
eos-assert-deps $progname yad || return 1
# local -r bonus_apps=(downgrade grub inxi linux linux-lts nvidia paru rate-mirrors virtualbox worm yad yay)
local -r bonus_apps=($(eos-apps-info-helper --show-bonus))

Expand Down
Binary file modified eos-apps-info/eos-apps-info-pages.tar.gz
Binary file not shown.
55 changes: 31 additions & 24 deletions eos-apps-info/man/eos-update/eos-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ and optionally

- updates AUR packages with the given AUR helper (`yay` or `paru`)
- checks update compatibility between Nvidia driver and kernel (only on EndeavourOS)
- clear package databases, see option --clear-databases
- reset keyrings, see option --keyrings-reset
- check for unsupported mirrors in /etc/pacman.d/endeavouros-mirrorlist
- clear package databases, see option `--clear-databases`
- reset keyrings, see option `--keyrings-reset`
- check for unsupported mirrors in files (option `--check-mirrors`)
- /etc/pacman-d/mirrorlist
- /etc/pacman.d/endeavouros-mirrorlist

## Synopsis

Expand All @@ -31,25 +33,30 @@ eos-update [options]
## Options

```
--help, -h This help.
--check-mirrors-eos Check file /etc/pacman.d/endeavouros-mirrorlist for unsupported mirrors.
--nvidia Check also nvidia driver vs. kernel updates. Useful only with the Nvidia GPU.
--clear-databases Clears package database files.
Use this only if package database issues constantly make system update fail.
--keyrings-reset Resets Arch and EndeavourOS keyrings.
Use this only if keyring issues constantly make system update fail.
--no-keyring Do not try to update keyrings first.
--no-sync Do not run 'sync' after update.
--show-only-fixed Show only packages that have already been fixed (runs: arch-audit -u) and exit.
--show-upstream-news Show the news page of the upstream site and exit.
--helper AUR helper name. Supported: yay, paru, pacman.
Default: pacman
Other AUR helpers supporting option -Sua like yay should work as well.
--paru Same as --helper=paru.
--yay Same as --helper=yay.
--aur Uses the AUR helper configured in /etc/eos-script-lib-yad.conf.
--pacman Same as --helper=pacman. Default. (Note: pacman does not support AUR directly).
--min-free-bytes Minimum amount of free space (in bytes) that the root partition should have
before updating. Otherwise a warning message will be displayed.
Default: 1000000000
--help, -h This help.
--check-mirrors Check files /etc/pacman.d/endeavouros-mirrorlist and /etc/pacman.d/mirrorlist
for unsupported mirrors.
This may be useful when one or more mirrors start failing unexpectedly.
Note: only x86_64 hardware is supported.
--check-mirrors-eos Check files /etc/pacman.d/endeavouros-mirrorlist for unsupported mirrors.
--check-mirrors-arch Check files /etc/pacman.d/mirrorlist for unsupported mirrors.
--nvidia Check also nvidia driver vs. kernel updates. Useful only with the Nvidia GPU.
--clear-databases Clears package database files.
Use this only if package database issues constantly make system update fail.
--keyrings-reset Resets Arch and EndeavourOS keyrings.
Use this only if keyring issues constantly make system update fail.
--no-keyring Do not try to update keyrings first.
--no-sync Do not run 'sync' after update.
--show-only-fixed Show only packages that have already been fixed (runs: arch-audit -u) and exit.
--show-upstream-news Show the news page of the upstream site and exit.
--helper AUR helper name. Supported: yay, paru, pacman.
Default: pacman
Other AUR helpers supporting option -Sua like yay should work as well.
--paru Same as --helper=paru.
--yay Same as --helper=yay.
--aur Uses the AUR helper configured in /etc/eos-script-lib-yad.conf.
--pacman Same as --helper=pacman. Default. (Note: pacman does not support AUR directly).
--min-free-bytes Minimum amount of free space (in bytes) that the root partition should have
before updating. Otherwise a warning message will be displayed.
Default: 1000000000
```

0 comments on commit 4700d69

Please sign in to comment.