Skip to content

Commit

Permalink
minify scripts and version bump
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Venz <[email protected]>
  • Loading branch information
ikstream committed Apr 19, 2021
1 parent 490e0a3 commit 6133346
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions dalec/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=dalec
PKG_VERSION:=0.1.4
PKG_VERSION:=0.1.6
PKG_RELEASE:=1
PKG_MAINTAINER:=Stefan Venz <[email protected]>
PKG_LICENSE:=GPL-3.0+
Expand Down Expand Up @@ -39,8 +39,13 @@ if [ -z /etc/crontabs/root ]; then
touch /etc/crontabs/root
fi

sed -i '/^#[^!]*$$/d' /usr/sbin/dalec
sed -i '/^#[^!]*$$/d' /usr/sbin/transmitt_data
sed -i '/^$$/d' /usr/sbin/dalec
sed -i '/^$$/d' /usr/sbin/transmitt_data

echo "If you consent, that this software may collect your data, please run the follwing command"
echo 'printf "0 */4 * * * /bin/sh /usr/sbin/transmitt_data\n$(crontab -l -u root 2>/dev/null)" | crontab -u root -'
echo 'printf "0 */4 * * * /bin/sh /usr/sbin/transmitt_data\n\$$(crontab -l -u root 2>/dev/null)" | crontab -u root -'
echo "Please make sure, that the cron service is enabled"
echo "To get further information, please visit https://github.com/ikstream/dalec"
exit 0
Expand Down
2 changes: 1 addition & 1 deletion dalec/dalec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Add more error checking. Always check if file exist before reading it
#

DALEC_VERSION='0.1.5'
DALEC_VERSION='0.1.6'

LOG="/tmp/dalec"

Expand Down

0 comments on commit 6133346

Please sign in to comment.