2
0
Fork 0

various changes

main
Ducky 2022-02-23 01:00:13 +00:00
parent f4daeca752
commit 627fc1914b
2 changed files with 34 additions and 5 deletions

28
.gitignore vendored
View File

@ -1,5 +1,23 @@
* /*
!*/ !.gitignore
!*/etc/skel/.bashrc
!*/root/.bashrc !/etc/
!*/usr/local/sbin/update-rootfs /etc/*
!/etc/skel/
/etc/skel/*
!/etc/skel/.bashrc
!/root/
/root/*
!/root/.bashrc
!/usr/
/usr/*
!/usr/local/
/usr/local/*
!/usr/local/sbin/
/usr/local/sbin/*
!/usr/local/sbin/update-rootfs

View File

@ -0,0 +1,11 @@
#!/bin/bash
# TODO: Check if we're actually using the rootfs git
orig_dir="$(pwd)"
cd /
git reset --hard
git pull
cd $orig_dir