From 7c618c5742a1edb62a65e9ea7313724c9a79c0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Choch=C3=B3=C5=82?= Date: Fri, 2 Nov 2018 17:41:31 +0100 Subject: [PATCH] beginning to write install code --- bmotd.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bmotd.sh b/bmotd.sh index 0794bc8..860b502 100755 --- a/bmotd.sh +++ b/bmotd.sh @@ -6,7 +6,7 @@ # Config MOTD="/etc/motd" INSTPATH="/etc/bmotd.sh" - +CACHEPATH="/var/cache/bmotd/" # Check if root @@ -24,7 +24,6 @@ main () { test -f ~/.pisscache || PKG_REFRESH=1 [[ $(date +%H%M) == "1510" ]] && PKG_REFRESH=1 if [ $PKG_REFRESH ]; then - echo "odswiezam" case "$OSID" in debian|osmc|linuxmint) PKG_NU=$(apt-get --just-print upgrade | awk '/^[0-9]/ { print $1; exit }')