Skip to content

Commit

Permalink
echo in installation scripts changed
Browse files Browse the repository at this point in the history
  • Loading branch information
William C Bonner committed Dec 15, 2024
1 parent 0d9c038 commit 413e795
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ endif()
add_compile_definitions(_BLUEZ_HCI_)

project (GoveeBTTempLogger
VERSION 3.20241208.0
VERSION 3.20241215.0
DESCRIPTION "Listen and log Govee Thermometer Bluetooth Low Energy Advertisments via BlueZ and DBus"
HOMEPAGE_URL https://github.com/wcbonner/GoveeBTTempLogger
)
Expand Down
2 changes: 1 addition & 1 deletion postinst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exists() {
[ -e "$1" ]
}

echo "\033[36mHI I'M A POSTINST SCRIPT \033[32m${0}\033[36m `date --rfc-3339='seconds'` running as \033[91m`whoami`\033[39m"
echo "`date --rfc-3339='seconds'` \033[36mHI I'M A POSTINST SCRIPT running \033[32m${0}\033[36m as \033[91m`whoami`\033[39m"
adduser --system --ingroup www-data goveebttemplogger
mkdir --verbose --mode 0755 --parents /var/log/goveebttemplogger /var/cache/goveebttemplogger /var/www/html/goveebttemplogger
chown --changes --recursive goveebttemplogger:www-data /var/log/goveebttemplogger /var/cache/goveebttemplogger /var/www/html/goveebttemplogger
Expand Down
2 changes: 1 addition & 1 deletion postrm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# POSTRM script for goveebttemplogger

echo "\033[36mHI I'M A POSTRM SCRIPT \033[32m${0}\033[36m `date --rfc-3339='seconds'` running as \033[91m`whoami`\033[39m"
echo "`date --rfc-3339='seconds'` \033[36mHI I'M A POSTRM SCRIPT running \033[32m${0}\033[36m as \033[91m`whoami`\033[39m"
systemctl daemon-reload

exit 0
2 changes: 1 addition & 1 deletion prerm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# PRERM script for goveebttemplogger

echo "\033[36mHI I'M A PRERM SCRIPT \033[32m${0}\033[36m `date --rfc-3339='seconds'` running as \033[91m`whoami`\033[39m"
echo "`date --rfc-3339='seconds'` \033[36mHI I'M A PRERM SCRIPT running \033[32m${0}\033[36m as \033[91m`whoami`\033[39m"
systemctl stop goveebttemplogger.service
systemctl disable goveebttemplogger.service

Expand Down

0 comments on commit 413e795

Please sign in to comment.