summaryrefslogtreecommitdiff
path: root/simply-report-installed-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-08-26 21:07:59 +0200
committerErich Eckner <git@eckner.net>2021-08-26 21:07:59 +0200
commitbc6dcb5ec37e9680a29794759fe2ea9ade83eafc (patch)
tree12d154a810032c2b8d9e6c9e339fe29610dc95e2 /simply-report-installed-packages
downloadsimple-package-report-bc6dcb5ec37e9680a29794759fe2ea9ade83eafc.tar.xz
initial commit
Diffstat (limited to 'simply-report-installed-packages')
-rwxr-xr-xsimply-report-installed-packages15
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