mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
fix installation issue for Mint Linux (#881)
Signed-off-by: Tiger Wang <tigerwang@outlook.com>
This commit is contained in:
parent
827fba2164
commit
c8b6a1c228
@ -18,7 +18,9 @@ __get_setup_script_directory_by_os_release() {
|
|||||||
} || {
|
} || {
|
||||||
pushd "${ID}" >/dev/null
|
pushd "${ID}" >/dev/null
|
||||||
} || {
|
} || {
|
||||||
pushd "${ID_LIKE}" >/dev/null
|
[[ -n ${ID_LIKE} ]] && for ID in ${ID_LIKE}; do
|
||||||
|
pushd "${ID}" >/dev/null && break
|
||||||
|
done
|
||||||
} || {
|
} || {
|
||||||
echo "Unsupported OS: ${ID} ${VERSION_CODENAME} (${ID_LIKE})"
|
echo "Unsupported OS: ${ID} ${VERSION_CODENAME} (${ID_LIKE})"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -26,7 +26,9 @@ __get_setup_script_directory_by_os_release() {
|
|||||||
} || {
|
} || {
|
||||||
pushd "${ID}" &>/dev/null
|
pushd "${ID}" &>/dev/null
|
||||||
} || {
|
} || {
|
||||||
pushd "${ID_LIKE}" &>/dev/null
|
[[ -n ${ID_LIKE} ]] && for ID in ${ID_LIKE}; do
|
||||||
|
pushd "${ID}" >/dev/null && break
|
||||||
|
done
|
||||||
} || {
|
} || {
|
||||||
echo "Unsupported OS: ${ID} ${VERSION_CODENAME} (${ID_LIKE})"
|
echo "Unsupported OS: ${ID} ${VERSION_CODENAME} (${ID_LIKE})"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user