mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-31 04:57:57 +00:00
10 lines
350 B
Bash
Executable File
10 lines
350 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
# Simply commits the package lists `packages.txt` and `aur-packages.txt` into the Git repo.
|
|
# This script is specifically used for a cron job where this is run monthly.
|
|
|
|
DOTFILES_DIRECTORY="$HOME/dotfiles"
|
|
|
|
cd "$DOTFILES_DIRECTORY"
|
|
git add "packages.txt" "aur-packages.txt"
|
|
git commit -m "Update package lists as of $(date +%F)" |