distribution/packages/jelos/sources/scripts/getoverlays
2023-12-15 18:44:03 -05:00

11 lines
328 B
Bash
Executable file

#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Shanti Gilbert (https://github.com/shantigilbert)
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
find /storage/overlays/ -name '*.cfg' -print0 |
while IFS= read -r -d '' line; do
echo ${line#/storage/overlays/},
done