#!/bin/sh -e if grep -qs '^/usr/share/octave/packages/.*/.*\.m$'; then octave -q -H --no-site-file --eval "pkg -verbose rebuild;" fi