mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00

```bash In postgres/templates/mac_shortcut.sh line 3: shortcutName='${1}' ^----^ SC2016: Expressions don't expand in single quotes, use double quotes for that. ```
7 lines
277 B
Bash
Executable file
7 lines
277 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
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\""
|