added existing
This commit is contained in:
14
scripts/git-update.sh
Normal file
14
scripts/git-update.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
packages="installed-packages.txt"
|
||||
|
||||
echo "writing packages into $packages"
|
||||
pacman -Qqe > $packages
|
||||
paru -Qqe >> $packages
|
||||
echo "finished packages into $packages"
|
||||
echo "copying files outside of home"
|
||||
cp /etc/fstab $HOME/.root/etc/
|
||||
cp -r /boot/grub/themes/* $HOME/.root/boot/grub/themes/
|
||||
echo "finished copying files outside of home"
|
||||
git add -u
|
||||
git commit -m 'update'
|
||||
git push
|
||||
Reference in New Issue
Block a user