Mercurial > jpeg-exif-thumbnailer
comparison uninstall @ 0:92c70579720e default tip
Initial commit
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Wed, 13 Jan 2021 19:25:09 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:92c70579720e |
---|---|
1 #!/bin/bash | |
2 | |
3 set -e | |
4 | |
5 if [ $EUID -ne 0 ]; then | |
6 echo "This script must be run with root privileges." | |
7 exit 1 | |
8 fi | |
9 | |
10 rm -f /usr/bin/jpeg-exif-thumbnailer | |
11 rm -f /usr/share/thumbnailers/jpeg-exif.thumbnailer | |
12 grep -l image/disabled-jpeg /usr/share/thumbnailers/*.thumbnailer | xargs --no-run-if-empty sed -i 's|image/disabled-jpeg|image/jpeg|g' |