mirror of
https://github.com/dbcli/pgcli.git
synced 2024-11-23 11:14:07 +03:00
b8d5295382
* 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
103 B
Bash
5 lines
103 B
Bash
#!/bin/bash
|
|
|
|
echo "Setting up symlink to pgcli"
|
|
ln -sf /usr/share/pgcli/bin/pgcli /usr/local/bin/pgcli
|