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