#!/bin/bash cd extension VERSION=`grep em:version install.rdf |cut -d \> -f 2|cut -d \< -f 1` cd .. echo Run the following commands after logging in: echo put compactondelete-${VERSION}.xpi echo put update.rdf echo quit cadaver https://www.moonlightdesign.org/dav/compactondelete/ # TODO: Replace with an expect script