Skip to content

Instantly share code, notes, and snippets.

View FriendlyNeighborhoodShane's full-sized avatar

FriendlyNeighborhoodShane

View GitHub Profile
@FriendlyNeighborhoodShane
FriendlyNeighborhoodShane / kiss-cacheman
Last active October 6, 2021 10:19
Package manager cache cleaner tool for kisslinux
#!/bin/sh -e
# Manage your kiss source/tarball cache
# See if terminal is interactive
[ -t 1 ] || KISS_COLOR=0;
# Conditionally use sexy kiss-accurate colors for prompts
if [ "$KISS_COLOR" != "0" ]; then
col0="$(printf "\033[m")";
col1="$(printf "\033[1;33m")";
@FriendlyNeighborhoodShane
FriendlyNeighborhoodShane / kiss-rmdeps
Last active October 18, 2022 01:25
Recursive package dependency removal tool for kisslinux
#!/bin/sh -e
# Interactively and recursively remove packages with dependencies
# Check if terminal is interactive
[ -t 1 ] || {
echo "error: launched in non-interactive environment";
exit 1;
}
# Check if all given packages are installed