File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ declare -a MIME_TYPES=(
6363 " text/mjs"
6464 " application/mjs"
6565 " text/cjs"
66- " inode/directory" # Added to include directory handling
6766)
6867
6968
@@ -312,8 +311,8 @@ set_default_application() {
312311 local desktop_file=" $DESKTOP_ENTRY_NAME " # Name of the Phoenix Code desktop entry file
313312
314313 for mime_type in " ${MIME_TYPES[@]} " ; do
315- # Skip setting default application for inode/directory and text/html
316- if [ " $mime_type " = " inode/directory " ] || [ " $mime_type " = " text/html" ]; then
314+ # Skip setting default application for text/html
315+ if [ " $mime_type " = " text/html" ]; then
317316 continue # Skip to the next iteration
318317 fi
319318
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ declare -a MIME_TYPES=(
4646 " text/mjs"
4747 " application/mjs"
4848 " text/cjs"
49- " inode/directory" # Added to include directory handling
5049)
5150
5251
@@ -482,8 +481,8 @@ set_default_application() {
482481 local desktop_file=" $DESKTOP_ENTRY_NAME " # Name of the Phoenix Code desktop entry file
483482
484483 for mime_type in " ${MIME_TYPES[@]} " ; do
485- # Skip setting default application for inode/directory and text/html
486- if [ " $mime_type " = " inode/directory " ] || [ " $mime_type " = " text/html" ]; then
484+ # Skip setting default application for text/html
485+ if [ " $mime_type " = " text/html" ]; then
487486 continue # Skip to the next iteration
488487 fi
489488
You can’t perform that action at this time.
0 commit comments