mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-06-26 13:40:58 +07:00
fix installation issue for Mint Linux (#31)
Signed-off-by: Tiger Wang <tigerwang@outlook.com>
This commit is contained in:
parent
3f89c925f2
commit
76adb01211
@ -19,7 +19,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
|
||||||
|
@ -16,7 +16,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…
Reference in New Issue
Block a user