#!/bin/bash # ping -c 1 1.1.1.1 > /dev/null # if [ $? -eq 0 ]; then # sudo pacman -Sy # fi /usr/bin/pamac-manager