PR#294 Remove pomf host, does not exist anymore

This commit is contained in:
Marshall Banana
2015-11-14 16:38:00 +01:00
parent c9c7dc7a84
commit 3ea623341b
2 changed files with 3 additions and 11 deletions

View File

@@ -64,7 +64,7 @@ denames=( gnome-session xfce-mcs-manage xfce4-session xfconfd ksmserver lxsessio
screenshot=
# This setting lets the script know if you want to upload the screenshot to a filehost. 1=Yes 0=No
upload=
# This setting lets the script know where you would like to upload the file to. Valid hosts are: teknik, mediacrush, pomf, imgur, hmp, and a configurable local.
# This setting lets the script know where you would like to upload the file to. Valid hosts are: teknik, mediacrush, imgur, hmp, and a configurable local.
uploadLoc=
# You can specify a custom screenshot command here. Just uncomment and edit. Otherwise, we'll be using the default command: scrot -cd3.
# screenCommand="scrot -cd5"
@@ -229,7 +229,7 @@ displayHelp() {
printf " ${bold}-s [-u IMGHOST]${c0} Using this flag tells the script that you want it\n"
printf " to take a screenshot. Use the -u flag if you would like\n"
printf " to upload the screenshots to one of the pre-configured\n"
printf " locations. These include: teknik, pomf, imgur, mediacrush and hmp.\n"
printf " locations. These include: teknik, imgur, mediacrush and hmp.\n"
printf " ${bold}-c string${c0} You may change the outputted colors with -c. The format is\n"
printf " as follows: [0-9][0-9],[0-9][0-9]. The first argument controls the\n"
printf " ASCII logo colors and the label colors. The second argument\n"
@@ -2195,14 +2195,6 @@ takeShot () {
filehash="${filehash%%\"*}"
desturl="${baseurl}/${filehash}"
;;
'pomf')
baseurl='http://a.pomf.se'
uploadurl='http://pomf.se/upload.php'
ret=$(curl --silent -sf -F files[]="@${shotfiles[@]}" ${uploadurl})
filehash="${ret##*url\":\"}"
filehash="${filehash%%\"*}"
desturl="${baseurl}/${filehash}"
;;
'hmp')
baseurl='http://i.hmp.me/m'
uploadurl='http://hmp.me/ap/?uf=1'