Skip to content

Commit

Permalink
Merge pull request #313 from KristjanESPERANTO/fix_installer
Browse files Browse the repository at this point in the history
Fix installer.sh
  • Loading branch information
Jopyth authored Dec 14, 2024
2 parents 39f498b + 9a12e83 commit a60fa55
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## [2.x.x] - UNRELEASED

### Fixed

- Updated TEST_STRING in `installer.sh`. Since MagicMirror² v2.27.0, the string has changed and the installer script was not able to detect the MagicMirror² directory.

## [2.5.0] - 2024-11-20

### Added
Expand Down
4 changes: 2 additions & 2 deletions installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ MODULE_NAME=MMM-Remote-Control
FORK=Jopyth

# check if we are correct by searching for https://github.com/MagicMirrorOrg/MagicMirror in package.json
TEST_STRING="\"url\": \"git+https://github.com/MagicMirrorOrg/MagicMirror.git\""
TEST_STRING="\"url\": \"https://github.com/MagicMirrorOrg/MagicMirror\""
if grep -sq "$TEST_STRING" "$MM_HOME/package.json"; then
# we found it
echo -n ""
Expand Down Expand Up @@ -196,7 +196,7 @@ fi
echo "Have fun with the module, if you have any problems, please search for help on github or in the forum:"
echo ""
echo " Github : https://github.com/$FORK/$MODULE_NAME"
echo " Forum : http://forum.magicmirror.builders"
echo " Forum : https://forum.magicmirror.builders"
echo ""
echo "Do not forget to restart your MagicMirror² to activate the module! Installation finished."
echo ""
Expand Down

0 comments on commit a60fa55

Please sign in to comment.