Compare commits

...

5 Commits
1.2.0 ... 1.3.1

Author SHA1 Message Date
Brooke Kuhlmann
3a896882c9 Added version release changes. 2017-01-08 10:23:13 -07:00
Brooke Kuhlmann
8af0c44eba Fixed install of zip app downloads with sub-directories.
- Discovered some applications, packaged in zip file format, would
  extract to a sub-directory. This was problematic because all zip app
  installs previously assumed the app would be unzipped in the current
  directory. This fixes that situation where an app might be located in
  a sub-directory or several sub-directory deep.
- The easiest fix for this problem would have been to the `-j` option
  for *junk* paths via unzip: "The archive's directory structure is not
  recreated; all files are deposited in the extraction directory (by
  default, the current one)." ...but some zip files, when unzipped, run
  executable code that creates the sub-directory structure dynamically
  which makes the `-j` option not viable.
- The solution used to fix this problem uses `find` to determine if the
  application to install is in a sub-directory. If so, then the app is
  copied to the root folder (i.e. $MAC_OS_WORK_PATH) so the script can
  install as it has done in the past. Because the file copy is executed
  only if `find` finds something, this makes the copy optional for sub-
  directories and is a no-op for standard zip files with no sub-
  directories.

Discovered that some zip app downloads use executable scripts to
  build for the particular machine when unzipped.

http://earthlingsoft.net/UnicodeChecker/index.html
2017-01-08 10:12:20 -07:00
Brooke Kuhlmann
d9440953ac Added version release changes. 2017-01-01 15:22:20 -07:00
Brooke Kuhlmann
8528e0ff01 Removed CHANGELOG.md (use CHANGES.md instead).
- Simplifies the name since "Log" is implied and is one of the three
  common file names for this type of information: CHANGELOG.md,
  CHANGES.md, and HISTORY.md

[ci skip]
2016-10-18 14:23:38 -06:00
Brooke Kuhlmann
7db6835173 Updated README versioning documentation.
[ci skip]
2016-10-16 11:44:39 -06:00
3 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,12 @@
# v1.3.1 (2017-01-08)
- Fixed install of zip app downloads with sub-directories.
# v1.3.0 (2017-01-01)
- Updated README versioning documentation.
- Removed CHANGELOG.md (use CHANGES.md instead).
# v1.2.0 (2016-10-12) # v1.2.0 (2016-10-12)
- Fixed reinstaller path issues with application and extension scripts. - Fixed reinstaller path issues with application and extension scripts.

View File

@@ -72,7 +72,7 @@ Current Version (stable):
git clone https://github.com/bkuhlmann/mac_os.git git clone https://github.com/bkuhlmann/mac_os.git
cd mac_os cd mac_os
git checkout v1.2.0 git checkout v1.3.1
Master Version (unstable): Master Version (unstable):
@@ -158,8 +158,8 @@ project is built upon the functions found in the `lib` folder. See the
Read [Semantic Versioning](http://semver.org) for details. Briefly, it means: Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
- Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes. - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
- Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes. - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
- Major (X.y.z) - Incremented for any backwards incompatible public API changes. - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
# Code of Conduct # Code of Conduct
@@ -174,11 +174,11 @@ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
# License # License
Copyright (c) 2016 [Alchemists](https://www.alchemists.io). Copyright (c) 2016 [Alchemists](https://www.alchemists.io).
Read the [LICENSE](LICENSE.md) for details. Read [LICENSE](LICENSE.md) for details.
# History # History
Read the [CHANGELOG](CHANGELOG.md) for details. Read [CHANGES](CHANGES.md) for details.
Built with [Bashsmith](https://github.com/bkuhlmann/bashsmith). Built with [Bashsmith](https://github.com/bkuhlmann/bashsmith).
# Credits # Credits

View File

@@ -191,6 +191,7 @@ install_zip_app() {
printf "Preparing...\n" printf "Preparing...\n"
cd "$MAC_OS_WORK_PATH" cd "$MAC_OS_WORK_PATH"
unzip -q "$download_file" unzip -q "$download_file"
find . -type d -name "$app_name" -print -exec cp -pR {} . > /dev/null 2>&1 \;
) )
install_app "$MAC_OS_WORK_PATH" "$app_name" install_app "$MAC_OS_WORK_PATH" "$app_name"