diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-07-21 14:02:59 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-07-21 14:02:59 +0900 |
| commit | a99ad92a0c5729683a0aa7c478e9a5a097e72d92 (patch) | |
| tree | cacf3819bfe146ccb52ee2ff4ed50bdb7a437276 /static/thesiah.sh | |
| parent | d0012c37453b283c71f238f36940e821c0caf5f7 (diff) | |
Init
Diffstat (limited to 'static/thesiah.sh')
| -rwxr-xr-x | static/thesiah.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/static/thesiah.sh b/static/thesiah.sh index 9f3a858..3ceeac0 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -219,7 +219,11 @@ installationloop() { comment="$(echo "$comment" | sed -E "s/(^\"|\"$)//g")" case "$tag" in "A") aurinstall "$program" "$comment" ;; - "I") initinstall "$program" "$comment" ;; + "I") + case "$(readlink -f /sbin/init)" in + *systemd*) initinstall "$program" "$comment" ;; + esac + ;; "G") gitmakeinstall "$program" "$comment" ;; "P") pipinstall "$program" "$comment" ;; *) maininstall "$program" "$comment" ;; |
