From 20d5f4adeb3002c6f40778cc7b6a400008c8d77e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 6 Nov 2023 23:46:29 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(pacman):=20configur?= =?UTF-8?q?ed=20package=20hook=20to=20delete=20first=20line=20created=20by?= =?UTF-8?q?=20yay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/pacman/hooks/50-pacman-list.hook | 2 +- .config/pacman/packages.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/pacman/hooks/50-pacman-list.hook b/.config/pacman/hooks/50-pacman-list.hook index 7a5c0d7f..fb04a5e0 100644 --- a/.config/pacman/hooks/50-pacman-list.hook +++ b/.config/pacman/hooks/50-pacman-list.hook @@ -8,4 +8,4 @@ Target = * [Action] Description = Create a backup list of all installed packages When = PostTransaction -Exec = /bin/sh -c 'yay -Qqe > /home/matt/.config/pacman/packages.txt' +Exec = /bin/sh -c "yay -Qqe > /home/matt/.config/pacman/packages.txt && sed -i '1d' /home/matt/.config/pacman/packages.txt" diff --git a/.config/pacman/packages.txt b/.config/pacman/packages.txt index 4496bd1d..faa7e3b8 100644 --- a/.config/pacman/packages.txt +++ b/.config/pacman/packages.txt @@ -1,4 +1,3 @@ - -> Evite ejecutar yay como root/sudo. activitywatch-bin adw-gtk3-git adwsteamgtk