mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Correct typo on notification
This commit is contained in:
parent
a991f0982d
commit
ca7debcaab
@ -12,7 +12,7 @@ command -v locate >/dev/null || {
|
|||||||
notify-send "You have no database. Creating it..."
|
notify-send "You have no database. Creating it..."
|
||||||
disk_path=$(echo "" | rofi -dmenu -l 0 -p "Enter the disk path (e.g '/mnt/harddisk'): ")
|
disk_path=$(echo "" | rofi -dmenu -l 0 -p "Enter the disk path (e.g '/mnt/harddisk'): ")
|
||||||
sudo updatedb -o ~/.config/.mymlocate.db -U "$disk_path" || {
|
sudo updatedb -o ~/.config/.mymlocate.db -U "$disk_path" || {
|
||||||
notify-send "Failed. Run the script once on terminal OR change doas permissions."
|
notify-send "Failed. Run the script once on terminal OR change sudo permissions."
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user