Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas North committed Jun 21, 2018
1 parent 36f7e4d commit a6f5136
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions functions/check_install_version
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ os-check_install_version() {

### Log current version being initiated to version_initiated

if [ ${custom_rc-null} = "e" ]
if [ ${custom_project_version-null} = "b" ]
then
latest_commit="$(cd $source_dir && git log -n 1 --pretty=format:"%H" | cut -c1-7)"
echo "bleeding-edge-$latest_commit" > "$conf_dir/version/version_initiated"
Expand Down Expand Up @@ -114,7 +114,7 @@ os-check_install_version() {
### Proceed to ensure that, if we're not installing a bleeding-edge version, there's no more recent version already installed
### If instead we're installing a bleeding-edge version, skip any checks as we're certainly intalling a newer version.

if [ ! ${custom_rc-null} = "e" ]
if [ ! ${custom_project_version-null} = "b" ]
then

if grep -q "bleeding-edge" "$conf_dir/version/version_installed"
Expand Down
2 changes: 1 addition & 1 deletion functions/run_install
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ os-run_install() {

### Launch the installer

if [ ${custom_rc-null} = "e" ]
if [ ${custom_project_version-null} = "b" ]
then
echo "- * - !!! - * - !!! - * - !!! - * - !!! - * - !!! - * - !!! - * - !!! - * - !!! -"
echo
Expand Down

0 comments on commit a6f5136

Please sign in to comment.