diff options
author | Erich Eckner <git@eckner.net> | 2021-08-26 21:07:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-08-26 21:07:59 +0200 |
commit | bc6dcb5ec37e9680a29794759fe2ea9ade83eafc (patch) | |
tree | 12d154a810032c2b8d9e6c9e339fe29610dc95e2 /simply-report-installed-packages | |
download | simple-package-report-bc6dcb5ec37e9680a29794759fe2ea9ade83eafc.tar.xz |
initial commit
Diffstat (limited to 'simply-report-installed-packages')
-rwxr-xr-x | simply-report-installed-packages | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/simply-report-installed-packages b/simply-report-installed-packages new file mode 100755 index 0000000..7bccf66 --- /dev/null +++ b/simply-report-installed-packages @@ -0,0 +1,15 @@ +#!/bin/bash + +if ! command -v pacman 2>/dev/null; then + exit 1 +fi + +{ + uname -n + pacman-conf Architecture + pacman -Slq archlinuxewe \ + | grep -xFf <( + pacman -Qq + ) +} \ +| curl -T - https://arch.eckner.net/report.php |