hyprland-dotfiles/scripts/unlock-pacman.sh
Stephan Raabe ea26ad635b Updates
2024-02-16 08:02:26 +01:00

9 lines
183 B
Bash
Executable File

#!/bin/bash
sleep 1
if [ -f /var/lib/pacman/db.lck ]; then
sudo rm /var/lib/pacman/db.lck
echo ":: Unlock complete"
else
echo ":: Pacman database is not locked"
fi
sleep 3