#!/bin/bash # Remove empty dirs source `which ttPM-funcs` 2>/dev/null || exit 1 # Do not run as root checkNotRoot if [ -f $TT_PKG_LOCAL_DATA_DIR/dirs ] then xargs rmdir -p < $TT_PKG_LOCAL_DATA_DIR/dirs 2>/dev/null fi