scratchpkg icon indicating copy to clipboard operation
scratchpkg copied to clipboard

added some changes

Open voncloft opened this issue 3 years ago • 3 comments

added changelog reintegraded color for outdated packages and [newer installed] as well

voncloft avatar May 25 '21 16:05 voncloft

idk if you can use this - but I basically just added a changelog function scratchpkg

scratch_changelog() { needarg $@ arg=$* for repo in $PORT_REPO; do #echo $repo/$1 if [[ -d $repo/$1 ]]; then found=1 if [[ -f $repo/$1/CHANGELOG ]]; then cat $repo/$1/CHANGELOG; else echo "No Changelog Exists" fi break fi done if [ ! "$found" ]; then msg "No matching package found" fi }

voncloft avatar May 25 '21 17:05 voncloft

its not posix compliance, so i cant merge it.

emmett1 avatar May 28 '21 02:05 emmett1

welp...i tried - I'll implement it in my fork

voncloft avatar Jul 03 '21 02:07 voncloft