From 9120ae6d073a783f3159f4dcf46a76e1c4bebd61 Mon Sep 17 00:00:00 2001 From: Joseph Groocock Date: Sat, 2 Apr 2016 18:08:25 +0100 Subject: [PATCH] Change script names & remove extensions --- scripts/{setup.sh => configsetup} | 0 scripts/{install-pacaur.sh => install-pacaur} | 0 scripts/{init-dotfiles.sh => linkdotfiles} | 0 scripts/listpackages | 9 +++++++++ scripts/listpackages.sh | 13 ------------- 5 files changed, 9 insertions(+), 13 deletions(-) rename scripts/{setup.sh => configsetup} (100%) rename scripts/{install-pacaur.sh => install-pacaur} (100%) rename scripts/{init-dotfiles.sh => linkdotfiles} (100%) create mode 100755 scripts/listpackages delete mode 100755 scripts/listpackages.sh diff --git a/scripts/setup.sh b/scripts/configsetup similarity index 100% rename from scripts/setup.sh rename to scripts/configsetup diff --git a/scripts/install-pacaur.sh b/scripts/install-pacaur similarity index 100% rename from scripts/install-pacaur.sh rename to scripts/install-pacaur diff --git a/scripts/init-dotfiles.sh b/scripts/linkdotfiles similarity index 100% rename from scripts/init-dotfiles.sh rename to scripts/linkdotfiles diff --git a/scripts/listpackages b/scripts/listpackages new file mode 100755 index 0000000..cf70752 --- /dev/null +++ b/scripts/listpackages @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +ALL=`pacman -Qqe` +BASE=`pacman -Qqeg base` +BASE_DEVEL=`pacman -Qqeg base-devel` + +printf "$ALL\n$BASE\n$BASE\n$BASE_DEVEL\n$BASE_DEVEL" | sort | uniq -u diff --git a/scripts/listpackages.sh b/scripts/listpackages.sh deleted file mode 100755 index 45b07e1..0000000 --- a/scripts/listpackages.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -set -e - -ALL=$(pacman --query --quiet --explicit) -BASE=$(pacman --query --quiet --groups base) -BASE_DEVEL=$(pacman --query --quiet --groups base-devel) - -echo "$ALL -$BASE -$BASE -$BASE_DEVEL -$BASE_DEVEL" | sort | uniq -u \ No newline at end of file