diff options
Diffstat (limited to 'xdg-add')
-rwxr-xr-x | xdg-add | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xdg-add b/xdg-add deleted file mode 100755 index d572ba9..0000000 --- a/xdg-add +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# -# A xdg-mime shortcut. -# - -# Parameters -APP="$1" -FILETYPE="$2" - -# Check if second param is a file -if [ -e "$FILETYPE" ]; then - FILETYPE="`xdg-mime query filetype $FILETYPE`" -fi - -# Make association -xdg-mime default ${APP}.desktop $FILETYPE |