18 lines
650 B
Markdown
18 lines
650 B
Markdown
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'
|
|
echo "include makepac/Makefile" > Makefile'
|
|
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
|