@ -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 }')