Skip to content

Commit

Permalink
add fix for neurodesktop-storage directory
Browse files Browse the repository at this point in the history
  • Loading branch information
stebo85 committed Nov 4, 2024
1 parent 708c5f7 commit 29cd4cd
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# check:
for dir in /cvmfs/neurodesk.ardc.edu.au/containers/*/*; do
if [ -d "$dir" ] && [ ! -d "$dir/neurodesktop-storage" ]; then
echo "$dir"
fi
done

# fix:
for dir in /cvmfs/neurodesk.ardc.edu.au/containers/*/*; do
if [ -d "$dir" ] && [ ! -d "$dir/neurodesktop-storage" ]; then
mkdir "$dir/neurodesktop-storage"
echo "Created directory: $dir/neurodesktop-storage"
fi
done


0 comments on commit 29cd4cd

Please sign in to comment.