Commit 0f4dbb10 authored by Vitaly Lipatov's avatar Vitaly Lipatov

remove extra deps

parent 2effb75e
...@@ -39,7 +39,7 @@ check_pkg_integrity() ...@@ -39,7 +39,7 @@ check_pkg_integrity()
# TODO: add to patool via cabextract # TODO: add to patool via cabextract
assure_exists cabextract assure_exists cabextract
#file $PKG | grep -q "Microsoft Office Document" #file $PKG | grep -q "Microsoft Office Document"
cabextract -t $PKG docmd cabextract -t $PKG
;; ;;
ebuild) ebuild)
true true
......
...@@ -56,9 +56,12 @@ set_service_type() ...@@ -56,9 +56,12 @@ set_service_type()
is_active_systemd() is_active_systemd()
{ {
local a
SYSTEMCTL=/bin/systemctl SYSTEMCTL=/bin/systemctl
SYSTEMD_CGROUP_DIR=/sys/fs/cgroup/systemd SYSTEMD_CGROUP_DIR=/sys/fs/cgroup/systemd
[ -x "$SYSTEMCTL" ] && [ -d "$SYSTEMD_CGROUP_DIR" ] && mountpoint -q "$SYSTEMD_CGROUP_DIR" [ -x "$SYSTEMCTL" ] || return
[ -d "$SYSTEMD_CGROUP_DIR" ] || return
a= mountpoint -q "$SYSTEMD_CGROUP_DIR"
} }
case $DISTRNAME in case $DISTRNAME in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment