linutil icon indicating copy to clipboard operation
linutil copied to clipboard

DWM-Titus Background Installation Bug Fedora 40

Open rdunne2020 opened this issue 1 year ago • 0 comments

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:

  1. Create an empty Pictures directory in your home dir
  2. Go to Applications Setup and select DWM-Titus
  3. Fill in your elevation passwords in order to continue down to where dwm is compiled
  4. 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.
  5. Then the clone of the images will happen anyways but there will be no nord-background folder, the images will just be at the top level Pictures directory

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

image

Running the DWM-Titus task

image

Here is what you wind up with in Pictures

image

Additional context

Add any other context about the problem here.

rdunne2020 avatar Sep 07 '24 15:09 rdunne2020