linutil
linutil copied to clipboard
DWM-Titus Background Installation Bug Fedora 40
Describe the bug
When the dwmtitus-setup.sh script is called when trying to run the DWM-Titus Application Setup on Fedora Server 40 the configure_backgrounds function can not detect whether or not the ~/Pictures directory already exists. Also the clone is too shallow causing the mv command to fail.
To Reproduce
Steps to reproduce the behavior:
- Create an empty
Picturesdirectory in your home dir - Go to Applications Setup and select DWM-Titus
- Fill in your elevation passwords in order to continue down to where dwm is compiled
- You will see in the logs Pictures directory does not exist and then it will try to make the directory and fail because it already exists.
- Then the clone of the images will happen anyways but there will be no
nord-backgroundfolder, the images will just be at the top levelPicturesdirectory
Expected behavior
The script detects whether or not there's a Pictures directory. Creates it if so, otherwise clones the nord-background repo into ~/Pictures/nord-background
Screenshots
If applicable, add screenshots to help explain your problem.
Here is the image of having an empty Pictures directory
Running the DWM-Titus task
Here is what you wind up with in Pictures
Additional context
Add any other context about the problem here.