Skip to content

Commit

Permalink
differntiate piVCCU
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Mar 6, 2020
1 parent 8b5f2c0 commit fd7891e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion addon_files/redmatic/bin/redmaticVersions
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ scan_dir()
scan_dir $GLOBAL_MODULES
scan_dir $LOCAL_MODULES

jo -p ccu=`(cat /VERSION && echo -n "deviceTypes=" && $ADDON_DIR/bin/deviceTypes) | jo` \
source /VERSION

if [ -d /etc/piVCCU3 ]; then
PRODUCT="piVCCU3"
fi

jo -p ccu=`(echo "VERSION=$VERSION"; echo "PRODUCT=$PRODUCT"; echo "PLATFORM=$PLATFORM" && echo -n "deviceTypes=" && $ADDON_DIR/bin/deviceTypes) | jo` \
redmatic=$VERSION_ADDON \
nodejs=`node --version | cut -c 2-` \
$JO_ARGS

0 comments on commit fd7891e

Please sign in to comment.