Compare commits
2 Commits
4f137bd19a
...
aa0190c6f8
Author | SHA1 | Date |
---|---|---|
|
aa0190c6f8 | |
|
51ab3ff3fa |
|
@ -87,6 +87,7 @@ done
|
||||||
|
|
||||||
# graphics UI detection
|
# graphics UI detection
|
||||||
# basically just checks if an X server is running on the machine and if yes, we just assume it's a desktop, not a server
|
# basically just checks if an X server is running on the machine and if yes, we just assume it's a desktop, not a server
|
||||||
if ps aux | grep Xorg >/dev/null 2>&1; then
|
# grep will be always returned as a process with Xorg in the command line, so assume there must be a second process for this to succeed
|
||||||
|
if [ $(ps aux | grep Xorg | wc -l) -gt 1 ]; then
|
||||||
add_tag "xorg_running" "desktop"
|
add_tag "xorg_running" "desktop"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -34,6 +34,7 @@ pip3_install() {
|
||||||
|
|
||||||
if has_tags pm:pacman; then
|
if has_tags pm:pacman; then
|
||||||
# libarchive for bsdtar
|
# libarchive for bsdtar
|
||||||
|
sudo pacman -Sy
|
||||||
pacman_install \
|
pacman_install \
|
||||||
makepkg \
|
makepkg \
|
||||||
base-devel \
|
base-devel \
|
||||||
|
|
Loading…
Reference in New Issue