mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
Fix quotes
This commit is contained in:
BIN
2016-10-02-232858_3200x1800_scrot.png
Normal file
BIN
2016-10-02-232858_3200x1800_scrot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 434 KiB |
BIN
2016-10-02-232906_3200x1800_scrot.png
Normal file
BIN
2016-10-02-232906_3200x1800_scrot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 438 KiB |
2
neofetch
2
neofetch
@@ -2313,7 +2313,7 @@ scrot_upload() {
|
||||
;;
|
||||
|
||||
"imgur")
|
||||
image_url="$(curl -sH "Authorization: Client-ID $imgur_client_id" -F "image=@${image_file}" "https://api.imgur.com/3/upload")"
|
||||
image_url="$(curl -sH "Authorization: Client-ID $imgur_client_id" -F image="@${image_file}" "https://api.imgur.com/3/upload")"
|
||||
image_url="$(awk -F 'id:|,' '{printf $2}' <<< "${image_url//\"}")"
|
||||
[ "$image_url" ] && image_url="https://i.imgur.com/${image_url}.png"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user