This is an experimental copy for testing Poikilos' issue mirroring system. Note that Gitea's migration tool can import issues, but the "Issues" checkbox is disabled when "This repository will be a mirror" is enabled (it is for this repo).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
224 B

8 years ago
#!/bin/sh
mountpoint=/media/flash
if [ -d /media/flash ]; then
sudo umount /media/flash
#ok since does NOT remove unless empty:
sudo rmdir "$mountpoint"
else
echo "Nothing to do: nothing was mounted at $mountpoint"
fi