summary refs log tree commit diff
path: root/pkgs/applications/graphics/image_optim/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/image_optim/update.sh')
-rwxr-xr-xpkgs/applications/graphics/image_optim/update.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/image_optim/update.sh b/pkgs/applications/graphics/image_optim/update.sh
new file mode 100755
index 00000000000..8afd7f90436
--- /dev/null
+++ b/pkgs/applications/graphics/image_optim/update.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env nix-shell
+#!nix-shell -i bash -p bundix bundler
+
+SCRIPT_DIR=$(dirname "$(readlink -f "$BASH_SOURCE")")
+
+cd $SCRIPT_DIR
+
+bundle lock --update
+bundix