mirror of
https://github.com/dbcli/pgcli.git
synced 2022-11-27 03:23:34 +03:00
* to build deb & rpm simply run
```
version=<se.mv.er> vagrant provision
```
vagrant shell provisioner will run the inline script and generate
a deb and an rpm file in the local directory. This is achieved by
multivm Vagrantfile one for centos and one for debian
* To install the generated deb - run sudo dpkg -i
* /pgcli/pgcli_<se.mv.er>.deb (then sudo apt-get install -f if deps
are missing on a clean debian install)
* To install generated rpm - sudo yum install path-to-rpm
* package will be installed under /usr/share/pgcli
* script pgcli will be a symlink in /usr/local/bin/pgcli ->
/usr/share/pgcli/bin/pgcli (with right shebang line
#!/usr/share/pgcli/bin/python)
5 lines
70 B
Bash
5 lines
70 B
Bash
#!/bin/bash
|
|
|
|
echo "Removing symlink to pgcli"
|
|
rm /usr/local/bin/pgcli
|