aboutsummaryrefslogtreecommitdiffstats
path: root/auto-void-packages
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2026-11-22 22:37:40 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2026-11-22 22:37:40 +0100
commitc1ca173aa2c75e401ba9a9c92649a64ede27e6ae (patch)
tree4fb5004cd13a85cf08bc4e64d942177d1651e012 /auto-void-packages
parent4c4ede3cef7a6f36d358ab43c61a5d6a231d8a23 (diff)
downloadscripts-c1ca173aa2c75e401ba9a9c92649a64ede27e6ae.tar.gz
scripts-c1ca173aa2c75e401ba9a9c92649a64ede27e6ae.tar.bz2
scripts-c1ca173aa2c75e401ba9a9c92649a64ede27e6ae.zip
remove update-check-contriubed.shHEADmaster
Diffstat (limited to '')
-rwxr-xr-xauto-void-packages/update-check-contributed.sh55
1 files changed, 0 insertions, 55 deletions
diff --git a/auto-void-packages/update-check-contributed.sh b/auto-void-packages/update-check-contributed.sh
deleted file mode 100755
index 3749072..0000000
--- a/auto-void-packages/update-check-contributed.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/usr/bin/env bash
-
-# Clyhsuriva
-
-### Colours
-
-NORMAL=$(tput sgr0)
-
-printf_red(){
-RED=$(tput setaf 1)
- printf "%s%s%s\n" "$RED" "$1" "$NORMAL"
-}
-
-printf_green(){
-GREEN=$(tput setaf 2)
-BOLD=$(tput bold)
- printf "%s%s%s%s\n" "$GREEN" "$BOLD" "$1" "$NORMAL"
-}
-
-printf_magenta(){
-MAGENTA=$(tput setaf 5)
- printf "%s[%s]%s" "$MAGENTA" "$1" "$NORMAL"
-}
-
-####
-
-WORKBENCH_FOLDER="$HOME/workbench"
-
-NEEDS_UPDATE="$WORKBENCH_FOLDER/auto-void-packages/needs_update.txt"
-[ -f "$NEEDS_UPDATE" ] && rm "$NEEDS_UPDATE"
-
-CONTRIBUTED_TO_FILE="$WORKBENCH_FOLDER/auto-void-packages/contributed-to.txt"
-VOID_PACKAGES_FOLDER="$WORKBENCH_FOLDER/void-packages"
-
-# for each package that needs an update put it in the file
-# for every package, print its name with an icon depending on its status
-# x for not needing an update
-# v for needing one
-pushd "$VOID_PACKAGES_FOLDER" || exit 1
-while read -r PKG;
-do
- printf_magenta "$PKG"
- UPDATES=$(./xbps-src update-check "$PKG")
- if [ -z "$UPDATES" ];
- then
- printf_red "✖"
- else
- printf_green "✔️"
- echo "$UPDATES" >> "$NEEDS_UPDATE"
- fi
-done <"$CONTRIBUTED_TO_FILE"
-popd || exit 1
-
-# print the file containing the packages needing an update
-[ -f "$NEEDS_UPDATE" ] && bat "$NEEDS_UPDATE"