student-connect: fix typos

master
Mikhail Novosyolov 3 years ago
parent 48027d0c06
commit 6d33892fe0
  1. 4
      .gear/doskast.spec
  2. 2
      Makefile
  3. 2
      ru.mos.doskast-student-config.policy

@ -38,9 +38,9 @@ Requires(pre): apache2-base
Summary: Doskast for client (student) Summary: Doskast for client (student)
Group: Graphical desktop/Other Group: Graphical desktop/Other
Requires: curl Requires: curl
Requires: polkit
Requires: xpra Requires: xpra
Requires: zenity Requires: zenity
Requires: %{_bindir}/pkexec
%description student %description student
%summary %summary
@ -54,11 +54,9 @@ Requires: zenity
%config(noreplace) %{_sysconfdir}/doskastrc %config(noreplace) %{_sysconfdir}/doskastrc
%post student %post student
%post_service doskast-student.socket
%post_service doskast-student.service %post_service doskast-student.service
%preun student %preun student
%preun_service doskast-student.socket
%preun_service doskast-student.service %preun_service doskast-student.service
#-------------------------------------------------------------- #--------------------------------------------------------------

@ -23,7 +23,7 @@ install:
mkdir -p --mode=0755 $(DESTDIR)$(SBINDIR) mkdir -p --mode=0755 $(DESTDIR)$(SBINDIR)
install -m0755 doskast-server-watcher.sh $(DESTDIR)$(BINDIR)/doskast-server-watcher install -m0755 doskast-server-watcher.sh $(DESTDIR)$(BINDIR)/doskast-server-watcher
install -m0755 doskast-student-config.sh $(DESTDIR)$(SBINDIR)/doskast-student-config install -m0755 doskast-student-config.sh $(DESTDIR)$(SBINDIR)/doskast-student-config
echo -e '#!/bin/sh\n$(BINDIR)/doskast-student-config "$$@"' > $(DESTDIR)$(BINDIR)/doskast-student-config echo -e '#!/bin/sh\npkexec $(SBINDIR)/doskast-student-config "$$@"' > $(DESTDIR)$(BINDIR)/doskast-student-config
chmod 0755 $(DESTDIR)$(BINDIR)/doskast-student-config chmod 0755 $(DESTDIR)$(BINDIR)/doskast-student-config
mkdir -p --mode=0755 $(DESTDIR)$(SYSCONFDIR)/xdg/autostart mkdir -p --mode=0755 $(DESTDIR)$(SYSCONFDIR)/xdg/autostart

@ -15,7 +15,7 @@
<allow_inactive>auth_admin</allow_inactive> <allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active> <allow_active>auth_admin</allow_active>
</defaults> </defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/doskast-student-setup</annotate> <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/doskast-student-config</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action> </action>
</policyconfig> </policyconfig>

Loading…
Cancel
Save