distribution/packages/jelos/sources/scripts/cleanup_overlay

11 lines
258 B
Bash
Executable file

#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
. /etc/profile
for STORAGE in /storage/games-internal /storage/games-external
do
find ${STORAGE} -type d -empty -delete
done
reboot