Compare commits

..

2 commits

Author SHA1 Message Date
askiiart
6cddb84903
fix the merge conflict. i already did this, why did it not get committed 2024-09-27 09:40:00 -05:00
askiiart
a3aacb7415
minor inconsequential updates 2024-09-27 09:39:04 -05:00
2 changed files with 3 additions and 11 deletions

View file

@ -1,11 +0,0 @@
#!/usr/bin/env bash
set -e
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
(
crontab -l 2>/dev/null
echo "* * * * * $GIT_DIR/commit.sh"
) | crontab -
############################################################################
# NOTE: commit signing must be turned off, or not require any interaction. #
############################################################################

View file

@ -4,12 +4,15 @@ command_exists() { type "$1" &>/dev/null; }
cd distro-specific-scripts/ cd distro-specific-scripts/
distro="" distro=""
if command_exists "pacman"; then if command_exists "pacman"; then
distro="arch" distro="arch"
elif command_exists "dnf" || command_exists "rpm-ostree"; then elif command_exists "dnf" || command_exists "rpm-ostree"; then
distro="fedora" distro="fedora"
elif command_exists "xbps-install"; then elif command_exists "xbps-install"; then
distro="void" distro="void"
else
exit
fi fi
./${distro}-${XDG_CURRENT_DESKTOP}.sh ./${distro}-${XDG_CURRENT_DESKTOP}.sh