#!/bin/sh -e

if [ "$1" = "remove" ]; then
    # Remove the files installed by the postinst
    while read path; do
        if [ -h "$path" ]; then
            rm "$path"
        fi
    done < /usr/share/app-install-ORIGIN/list
fi
