#!/bin/bash

echo "You are about to uninstall co-op support for the"
echo "original Half-Life: Opposing Force single-player storyline maps."
echo ""
echo "Half-Life: Opposing Force support takes up about 80MB of space,"
echo "so this is useful if you're low on disk space."
echo "-"

echo "Working..."

cd maps
find -type f -name "of?a*.*" | grep -v "~$" | xargs rm 2> /dev/null
cd ..

echo "-"
echo "Finished! "

