Commit 5468b3f5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

improve anydesk repack

parent e55e6434
......@@ -358,7 +358,7 @@ check_option()
exit 0
;;
--verbose) # HELPOPT: verbose mode
verbose=1
verbose="--verbose"
;;
--skip-installed) # HELPOPT: skip already installed packages during install
skip_installed=1
......
......@@ -6,8 +6,13 @@ SPEC="$2"
PRODUCT=anydesk
mkdir -p $BUILDROOT/etc/systemd/system
ln -sf /usr/share/anydesk/files/systemd/anydesk.service $BUILDROOT/etc/systemd/system/anydesk.service
mkdir -p $BUILDROOT/etc/systemd/system/
mv -fv $BUILDROOT/usr/share/anydesk/files/systemd/anydesk.service $BUILDROOT/etc/systemd/system/anydesk.service
subst "s|/usr/share/anydesk/files/systemd/anydesk.service|/etc/systemd/system/anydesk.service|g" $SPEC
mkdir -p $BUILDROOT/etc/rc.d/init.d/
mv -fv $BUILDROOT/usr/share/anydesk/files/init/anydesk $BUILDROOT/etc/rc.d/init.d/anydesk
subst "s|.*/etc/default/NetworkManager.*||" $BUILDROOT/etc/rc.d/init.d/anydesk
subst "s|/usr/share/anydesk/files/init/anydesk|/etc/rc.d/init.d/anydesk|" $SPEC
#subst '1iAutoProv:no' $SPEC
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