mirror of
https://github.com/creyD/crush_action.git
synced 2026-04-17 14:00:29 +02:00
Added quiet mode for optipng
This commit is contained in:
@@ -36,8 +36,8 @@ _git_push() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# PROGRAM
|
# PROGRAM
|
||||||
find -type f -name "*.png" -exec optipng -nc -nb -o7 {} \;
|
find -type f -name "*.png" -exec optipng -quiet -nc -nb -o7 {} \;
|
||||||
find -type f -name "*.jpg" -exec jpegoptim -nc -nb -o7 {} \;
|
find -type f -name "*.jpg" -exec jpegoptim {} \;
|
||||||
|
|
||||||
# To keep runtime good, just continue if something was changed
|
# To keep runtime good, just continue if something was changed
|
||||||
if _git_changed;
|
if _git_changed;
|
||||||
|
|||||||
Reference in New Issue
Block a user