makepac/README.md

18 lines
650 B
Markdown
Raw Normal View History

2022-07-27 22:45:40 -04:00
makepac
--------
`makepacc` is a simple package manager to keep all file changes in a linux server in a git repository.
Initial setup
mkdir myfiles
cd myfiles
git init
git submodule add https://gitlab.com/balki/makepac'
2022-08-15 21:01:09 -04:00
echo "include makepac/Makefile" > Makefile'
2022-07-27 22:45:40 -04:00
make skel
git add .
git commit -m 'initial commit'
Now, create all the files inside the `root` directory and run `make install` to have it symlinked to the same path in the real root. Permissions and ownership of the files are recorded with `make save-perms` in `./acl`. After making changes to the system, just make a git commit to record the state