vcarbs

Cem's Auto Rice Bootstrapping Scripts, for Void Linux
git clone git://git.ckyln.com/vcarbs.git
Log | Files | Refs | README | LICENSE

commit a8bbc04b2764aadc09dd029fe172c583241c0729
parent 4c24618a17f097ae846092ebb38abdfe320cb25f
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 12 Nov 2019 10:51:13 +0300

create an informative file for all installed packages

Diffstat:
Mcarbs | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/carbs b/carbs @@ -107,12 +107,18 @@ makeinstall() { cd $dir make || die "Could not build $1" sudo make install || die "Could not install $1" - printf "$1 - `basename $1`\\n" >> $HOME/.local/share/carbs/gitrepos +} + +makelist() { + printf "Distribution Programs\\n=====================\\n\\n" + grep '^,' $progs | cut -d , -f 2 + printf "\\nGit Programs\\n============\\n\\n" + grep '^g' $progs | cut -d , -f 2 } installcsv() {\ [ -e $progs ] || die 'Could not retrieve progs.csv' - mkdir -p $HOME/.local/share/carbs && printf "# This is a list of all packages installed from git\\n\\n" > $HOME/.local/share/carbs/gitrepos + mkdir -p $HOME/.local/share/carbs && makelist > $HOME/.local/share/carbs/packages while IFS=, read -r src name do case $src in