7 lines
198 B
Bash
7 lines
198 B
Bash
#! /bin/bash
|
|
DISPLAY_CHECK=$(echo $DISPLAY)
|
|
WHO=$(whoami)
|
|
if [[ $DISPLAY_CHECK ]] && [[ $WHO != "pikaos" ]] && [[ $WHO != "gnome-initial-setup" ]] ; then
|
|
sleep 30
|
|
pikman-update-manager --hidden
|
|
fi |