mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Compare commits
1 Commits
f87faf7173
...
b4cf0a3059
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4cf0a3059 |
@ -12,7 +12,7 @@ command -v locate >/dev/null || {
|
||||
notify-send "You have no database. Creating it..."
|
||||
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" || {
|
||||
notify-send "Failed. Run the script once on terminal OR change sudo permissions."
|
||||
notify-send "Failed. Run the script once on terminal OR change doas permissions."
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user