James Logsdon
204fb1b1ff
Use head/tail over sed for metadata fetching in sh.erb template
2021-01-19 12:49:18 -08:00
Paweł Tomulik
eca336bc13
fix sh.erb to prevent empty function set_post_install_vars
2016-04-07 23:09:46 +02:00
Ed Healy
21c42f40ea
Correct detection of existing .old file in releases directory in shell template.
...
Conflicts:
templates/sh.erb
2015-09-14 10:03:35 -04:00
Ed Healy
4689a59055
add -h to detect current folder symlink in shell template.
2015-09-14 10:02:54 -04:00
Ed Healy
533311dfb5
export slug metadata as env vars for use in post install scripts for shell template.
2015-09-14 10:02:30 -04:00
Jordan Sissel
3bfb7dd64e
Merge pull request #828 from gerbercj/feature/sh_metadata
...
Add package metadata to slug file format
2015-05-07 13:17:31 -07:00
Daniel Haskin
9e2874766b
Whitespace
2015-05-06 22:39:10 -06:00
Daniel Haskin
69ef42b31f
Add before-install script to sh package type
2015-05-06 20:06:42 -06:00
Chris Gerber
16fbcef933
Add package metadata to slug file format
2014-12-19 13:54:44 -05:00
Chris Gerber
57e2160a01
Enhancements to sh template
...
This PR includes two significant changes:
* If this version of the code is already in current:
* If not forced, do not install the code
* If forced, rename the old directory and write out a new one
* Ignore functions in environment when saving .install-metadata, due to an issue with FPM 1.25.29-31 and Bash 4.3.27
2014-10-03 14:39:56 -04:00
Chris Gerber
a49d2abeb5
Fix post_install logging; protect previous current dir during clean up
2014-05-08 11:00:42 -04:00
Chris Gerber
665bb7c3a7
Move pids up to install root to prevent "folder *not* empty" problem
2014-03-19 15:14:50 -04:00
Chris Gerber
df0e1589c4
Only set RELEASE_ID if it is passed in as a template variable
2014-03-11 00:40:07 -04:00
Chris Gerber
76d93fca9b
Fix FORCE variable handling; add post install logging
2014-03-11 00:40:07 -04:00
Chris Gerber
d8c27b4dde
Add a self-extracting sh package type implementation
2014-03-11 00:40:04 -04:00