hyprland-dotfiles/scripts/unlock-pacman.sh

9 lines
183 B
Bash
Raw Normal View History

2024-02-16 07:02:26 +00:00
#!/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