melawy-welcome/src
Peppe289 280ef70cc8 pages.rs: fix run of orphans packages
This avoid "error: no targets specified (use -h for help)" when `pacman -Qtdq` is empty.

`pacman -Qtdq` can be started without root, and has a return value other than 0 if it finds no packages.
So if it finds packages, it succeeds and goes to the true condition that it deletes packages.
Otherwise do echo. (echo doesn't require root)

Signed-off-by: Peppe289 <gsperanza204@gmail.com>
2023-03-06 18:30:11 +01:00
..
scripts 🚧 add the actual instal/remove script 2022-07-05 01:41:55 +04:00
alpm_helper.rs 🧹 cleanup 2023-02-17 22:24:56 +04:00
application.rs Rewrite in Rust 2022-06-02 01:23:20 +04:00
application_browser.rs 🚧 fix layout 2023-02-19 01:12:49 +04:00
config.rs.in 👷 use compressed gresource instead 2023-02-17 22:08:16 +04:00
data_types.rs Rewrite in Rust 2022-06-02 01:23:20 +04:00
main.rs 🚧 fix compilation 2023-02-19 01:39:13 +04:00
meson.build 👷 use compressed gresource instead 2023-02-17 22:08:16 +04:00
pages.rs pages.rs: fix run of orphans packages 2023-03-06 18:30:11 +01:00
utils.rs 🧹 cleanup 2023-02-17 22:24:56 +04:00