You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
distros-overlay/sys-apps/calculate-client/files/calculate-client-3.2.0_alph...

37 lines
1.6 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

diff --git data/logout data/logout
index 09abf5d..18bb8b6 100644
--- data/logout
+++ data/logout
@@ -21,8 +21,8 @@ then
# переменная online_data возвращает строки пользователь,дисплей
for user_disp in $(variable_value desktop.cl_desktop_online_data | sed -r "s/;/ /g")
do
- user=$(echo $user_disp | cut -d, -f1)
- disp=$(echo $user_disp | cut -d, -f2)
+ user=$(echo $user_disp | cut -d: -f1)
+ disp=$(echo $user_disp | cut -d: -f2)
# завершаем сессию пользователя
/usr/sbin/cl-core --method desktop_logout $user &>/dev/null
# удаляем запить о пользователе
diff --git setup.py setup.py
index 1209a33..f873cdf 100755
--- setup.py
+++ setup.py
@@ -24,10 +24,16 @@ from distutils.core import setup, Extension
from calculate.install_data import install_data
data_files = [('/etc/init.d', [('data/client',0755)]),
+ ('/usr/sbin', [('data/logout', 0755)]),
+ ('/usr/sbin', [('data/cl-client-resume-remount', 0755)]),
('/usr/share/calculate/xdm/login.d',
['data/login.d/10client']),
+ ('/usr/share/calculate/xdm/login.d',
+ ['data/login.d/15resume_remount']),
('/usr/share/calculate/xdm/logout.d',
['data/logout.d/10client']),
+ ('/usr/share/calculate/xdm/logout.d',
+ ['data/login.d/15resume_remount']),
('/usr/share/calculate/xdm/',[('data/wait_domain',0755)])]
setup(