updates, remove sc-im
This commit is contained in:
parent
aa92be49ba
commit
945abf01f3
5 changed files with 19 additions and 12 deletions
|
@ -44,7 +44,7 @@ cmd open ${{
|
||||||
application/vnd.oasis.opendocument.database) setsid -f lobase $fx >/dev/null 2>&1 ;;
|
application/vnd.oasis.opendocument.database) setsid -f lobase $fx >/dev/null 2>&1 ;;
|
||||||
esac
|
esac
|
||||||
case $(file --mime-type "$(readlink -f $f)" -b) in
|
case $(file --mime-type "$(readlink -f $f)" -b) in
|
||||||
text/csv) sc-im $fx ;;
|
# text/csv) sc-im $fx ;;
|
||||||
text/*|application/json|inode/x-empty) $EDITOR $fx;;
|
text/*|application/json|inode/x-empty) $EDITOR $fx;;
|
||||||
application/pgp-encrypted) $EDITOR $fx ;;
|
application/pgp-encrypted) $EDITOR $fx ;;
|
||||||
# *) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
|
# *) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3bc5a385fe1624d6701326f92e9456774954404d
|
Subproject commit e843df5cc0b8e1abd8f9a043c61f9fd71850da08
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
||||||
.config/nvim/plugin
|
.config/nvim/plugin
|
||||||
.config/gtk-3.0/bookmarks
|
.config/gtk-3.0/bookmarks
|
||||||
.config/gtk-2.0/gtkfilechooser.ini
|
.config/gtk-2.0/gtkfilechooser.ini
|
||||||
|
.local/share/firefox/user.js
|
||||||
|
|
|
@ -2,20 +2,15 @@
|
||||||
|
|
||||||
## arkenfox user.js updater for macOS and Linux
|
## arkenfox user.js updater for macOS and Linux
|
||||||
|
|
||||||
## version: 3.8
|
## version: 3.9
|
||||||
## Author: Pat Johnson (@overdodactyl)
|
## Author: Pat Johnson (@overdodactyl)
|
||||||
## Additional contributors: @earthlng, @ema-pe, @claustromaniac, @infinitewarp
|
## Additional contributors: @earthlng, @ema-pe, @claustromaniac, @infinitewarp
|
||||||
|
|
||||||
## DON'T GO HIGHER THAN VERSION x.9 !! ( because of ASCII comparison in update_updater() )
|
## DON'T GO HIGHER THAN VERSION x.9 !! ( because of ASCII comparison in update_updater() )
|
||||||
|
|
||||||
# Check if running as root and if any files have the owner/group as root/wheel.
|
# Check if running as root
|
||||||
if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then
|
if [ "${EUID:-"$(id -u)"}" -eq 0 ]; then
|
||||||
printf "You shouldn\'t run this with elevated privileges (such as with doas/sudo).\n"
|
printf "You shouldn't run this with elevated privileges (such as with doas/sudo).\n"
|
||||||
exit 1
|
|
||||||
elif [ -n "$(find ./ -user 0 -o -group 0)" ]; then
|
|
||||||
printf 'It looks like this script was previously run with elevated privileges,
|
|
||||||
you will need to change ownership of the following files to your user:\n'
|
|
||||||
find . -user 0 -o -group 0
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -396,6 +391,17 @@ show_banner
|
||||||
update_updater "$@"
|
update_updater "$@"
|
||||||
|
|
||||||
getProfilePath # updates PROFILE_PATH or exits on error
|
getProfilePath # updates PROFILE_PATH or exits on error
|
||||||
cd "$PROFILE_PATH" && update_userjs
|
cd "$PROFILE_PATH" || exit 1
|
||||||
|
|
||||||
|
# Check if any files have the owner/group as root/wheel.
|
||||||
|
if [ -n "$(find ./ -user 0 -o -group 0)" ]; then
|
||||||
|
printf 'It looks like this script was previously run with elevated privileges,
|
||||||
|
you will need to change ownership of the following files to your user:\n'
|
||||||
|
find . -user 0 -o -group 0
|
||||||
|
cd "$CURRDIR"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
update_userjs
|
||||||
|
|
||||||
cd "$CURRDIR"
|
cd "$CURRDIR"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2a50821d8570b455298b402aecc50dcd839c2f36
|
Subproject commit f943e5510c6f57b381bb723882d944e554b6c40f
|
Loading…
Add table
Add a link
Reference in a new issue