mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Update git.spec
Fix some errors from testing. repos directory was not existing under sys-gui after install which made me review the spec file.
This commit is contained in:
parent
0e1c255aeb
commit
f7d15a3563
12
git.spec
12
git.spec
@ -26,8 +26,8 @@ git init --bare
|
||||
```
|
||||
|
||||
## prepare client
|
||||
Then prepare a qube by running:
|
||||
`qubesctl --skip0-dom0 --targets=QUBE state.apply git.install_client`
|
||||
Then prepare a qube by running in dom0:
|
||||
`sudo qubesctl --skip0-dom0 --targets=QUBE state.apply git.install_client`
|
||||
|
||||
## Work in the client
|
||||
Configure git, as necessary.
|
||||
@ -39,17 +39,17 @@ git init
|
||||
add-remote sg
|
||||
```
|
||||
You can then use that repository as usual, making commits.
|
||||
To push to sys-git you must first-
|
||||
To push to sys-git you must first:
|
||||
`git push --set-upstream sg master`
|
||||
|
||||
After making more commits,
|
||||
After making more commits:
|
||||
`git push `
|
||||
|
||||
# Working with an existing repository
|
||||
|
||||
## prepare client, if necessary
|
||||
Prepare a qube by running:
|
||||
`qubesctl --skip0-dom0 --targets=QUBE state.apply git.install_client`
|
||||
`sudo qubesctl --skip0-dom0 --targets=QUBE state.apply git.install_client`
|
||||
|
||||
## Clone the repository in the client
|
||||
Configure git, as necessary.
|
||||
@ -99,7 +99,7 @@ cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
||||
%post
|
||||
if [ $1 -eq 1 ]; then
|
||||
qubesctl state.apply git.create
|
||||
qubesctl --skip-dom0 --targets=sys-git state.apply monero.install
|
||||
qubesctl --skip-dom0 --targets=sys-git state.apply git.install
|
||||
fi
|
||||
|
||||
%postun
|
||||
|
Loading…
Reference in New Issue
Block a user