fix: case syntax

This commit is contained in:
Klesh Wong 2023-02-28 09:40:28 +08:00
parent 06713482b7
commit 5c1386de4d

View File

@ -1,10 +1,7 @@
#!/bin/sh
case "$1" in
*.jpg)
*.jpeg)
*.png)
*.gif)
*.jpg|*.jpeg|*.png|*.gif)
gimp "$1"
;;
*)