Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Evilur committed Dec 2, 2022
1 parent 0e7fe89 commit d0e8407
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/bash

touch ~/.config/mnt.ini # Create config file if it doesn't exists
mkdir -p ~/.config # Create config directory if it doesn't exist
touch ~/.config/mnt.ini # Create config file if it doesn't exist

# Get all disk parts with labels with simple regex
DATA=$(lsblk -nio LABEL | expand)
Expand Down Expand Up @@ -29,5 +30,4 @@ grep -v '<placeholder>display</placeholder>' >> ~/.config/mnt.ini

echo 'The configuration file was successfully created!
Its location is ~/.config/mnt.ini
You can manually change any values specified in it'
exit 0 # The program worked without errors
You can manually change any values specified in it'

0 comments on commit d0e8407

Please sign in to comment.