Skip to content

Commit

Permalink
Merge pull request #67 from nmfs-opensci/eeholmes-dev-1
Browse files Browse the repository at this point in the history
clean out Desktop dir if it exists
  • Loading branch information
eeholmes authored Oct 20, 2024
2 parents 205123b + da34e68 commit 03848fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ shopt -s nullglob
# build-time.
APPLICATIONS_DIR="${HOME}/.local/share/applications"
DESKTOP_DIR="${HOME}/Desktop"
# Remove DESKTOP_DIR if it exists to avoid leftover files
if [ -d "${DESKTOP_DIR}" ]; then
rm -rf "${DESKTOP_DIR}"
fi
mkdir -p "${APPLICATIONS_DIR}"
mkdir -p "${DESKTOP_DIR}"
for desktop_file_path in ${REPO_DIR}/Desktop/*.desktop; do
Expand Down

0 comments on commit 03848fa

Please sign in to comment.