From 8cad82345565ae883a0c8fde8bf8ad3fd3159f7c Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 20 May 2020 18:38:24 +0200 Subject: Way better syncing scripts etc --- sync | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 sync (limited to 'sync') diff --git a/sync b/sync new file mode 100755 index 0000000..cb1198d --- /dev/null +++ b/sync @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# The most awesome sync script! :) + +git pull || exit 1 +comm -23 <(sort packages.txt) <(pacman -Qqe | sort) | yay -S --needed - +for d in ./.repos/*/ ; do (cd "$d" && sudo make install); done || exit 1 -- cgit v1.2.3