0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-24 11:46:17 +00:00
glibc-packages/scripts-cgct/tools/clean_prefix
2024-06-27 15:30:43 +03:00

13 lines
207 B
Bash
Executable File

#!/usr/bin/env bash
# Clear prefix of unnecessary files after installing packages
set -e
if [ ! -d "${DIR_TERMUX}/files" ]; then
echo "Error: prefix not found"
exit 1
fi
rm -fr "${DIR_TERMUX}"/files/*