mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
Merge pull request #294 from myii/feat/update-codenamemap
feat(codenamemap): update for current versions
This commit is contained in:
commit
d145058343
2 changed files with 11 additions and 9 deletions
|
@ -54,28 +54,31 @@
|
|||
{% endmacro %}
|
||||
|
||||
## Debian GNU/Linux (the second parameter refers to the postgresql package version, not the distro)
|
||||
{{ debian_codename('wheezy', '9.1') }}
|
||||
# http://apt.postgresql.org/pub/repos/apt/dists/
|
||||
# https://packages.debian.org/search?keywords=postgresql&searchon=names
|
||||
{{ debian_codename('jessie', '9.4') }}
|
||||
{{ debian_codename('stretch', '9.6') }}
|
||||
{{ debian_codename('buster', '11') }}
|
||||
|
||||
# `oscodename` grain has long distro name
|
||||
# if `lsb-release` package not installed
|
||||
{{ debian_codename('wheezy', '9.1', 'Debian GNU/Linux 7 (wheezy)') }}
|
||||
{{ debian_codename('jessie', '9.4', 'Debian GNU/Linux 8 (jessie)') }}
|
||||
{{ debian_codename('stretch', '9.6', 'Debian GNU/Linux 9 (stretch)') }}
|
||||
{{ debian_codename('buster', '11', 'Debian GNU/Linux 10 (buster)') }}
|
||||
|
||||
## Ubuntu
|
||||
{{ debian_codename('trusty', '9.3') }}
|
||||
# http://apt.postgresql.org/pub/repos/apt/dists/
|
||||
# https://packages.ubuntu.com/search?keywords=postgresql&searchon=names
|
||||
{{ debian_codename('xenial', '9.5') }}
|
||||
{{ debian_codename('artful', '9.6') }}
|
||||
{{ debian_codename('bionic', '10') }}
|
||||
{{ debian_codename('cosmic', '10') }}
|
||||
{{ debian_codename('eoan', '11') }}
|
||||
{{ debian_codename('focal', '12') }}
|
||||
|
||||
## Fedora
|
||||
# http://apt.postgresql.org/pub/repos/yum/reporpms/
|
||||
# https://apps.fedoraproject.org/packages/postgresql
|
||||
# `oscodename` grain has long distro name
|
||||
{{ fedora_codename('Fedora-27', '9.6', 'Fedora 27 (Twenty Seven)') }}
|
||||
{{ fedora_codename('Fedora-26', '9.6', 'Fedora 26 (Twenty Six)') }}
|
||||
{{ fedora_codename('Fedora-31', '11', 'Fedora 31 (Thirty One)') }}
|
||||
{{ fedora_codename('Fedora-30', '11', 'Fedora 30 (Thirty)') }}
|
||||
|
||||
# vim: ft=sls
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
shortcutName='${1}'
|
||||
shortcutName="${1}"
|
||||
app="postgres.app"
|
||||
Source="/Applications/$app"
|
||||
Destination="{{ homes }}/{{ user }}/Desktop/${shortcutName}"
|
||||
/usr/bin/osascript -e "tell application \"Finder\" to make alias file to POSIX file \"$Source\" at POSIX file \"$Destination\""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue