#!/usr/bin/sh echo -n setup.exe -P $( for p in $(cut -d \ -f 1 /etc/setup/installed.db) do if [ "$p" == "INSTALLED.DB" ] then continue elif [ "$p" == "_update-info-dir" ] then continue else echo -n $p, fi done) > portcyg.bat