Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
settingsd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
settingsd
Commits
c0d43cae
Commit
c0d43cae
authored
Dec 08, 2010
by
Devaev Maxim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added folders for plugins data
parent
85e60913
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
6 deletions
+18
-6
.gitignore
data/actions/.gitignore
+0
-0
.gitignore
data/customs/.gitignore
+0
-0
.gitignore
data/functions/.gitignore
+0
-0
const.py
settingsd/const.py
+5
-0
setup.py
setup.py
+13
-6
No files found.
data/actions/.gitignore
0 → 100644
View file @
c0d43cae
data/customs/.gitignore
0 → 100644
View file @
c0d43cae
data/functions/.gitignore
0 → 100644
View file @
c0d43cae
settingsd/const.py
View file @
c0d43cae
...
...
@@ -12,6 +12,11 @@ FUNCTIONALITY_LEVEL = 74
FUNCTIONS_DIR
=
"plugins/functions"
ACTIONS_DIR
=
"plugins/actions"
CUSTOMS_DIR
=
"plugins/customs"
FUNCTIONS_DATA_DIR
=
"data/functions"
ACTIONS_DATA_DIR
=
"data/actions"
CUSTIOMS_DIR
=
"data/customs"
CONFIGS_DIR
=
"configs/settingsd"
CONFIG_FILE_POSTFIX
=
".conf"
...
...
setup.py
View file @
c0d43cae
...
...
@@ -22,9 +22,12 @@ data_files_list = [
(
"/etc/dbus-1/system.d"
,
[
"configs/dbus/org.etersoft.settingsd.conf"
]),
(
"/etc/rc.d/init.d"
,
[
"init/settingsd"
])
]
for
maps_list_item
in
(
(
"share/settingsd/functions"
,
"plugins/functions"
),
(
"share/settingsd/actions"
,
"plugins/actions"
),
(
"share/settingsd/customs"
,
"plugins/customs"
),
for
maps_list_item
in
(
(
"share/settingsd/plugins/functions"
,
"plugins/functions"
),
(
"share/settingsd/plugins/actions"
,
"plugins/actions"
),
(
"share/settingsd/plugins/customs"
,
"plugins/customs"
),
(
"share/settingsd/data/functions"
,
"data/functions"
),
(
"share/settingsd/data/actions"
,
"data/actions"
),
(
"share/settingsd/data/customs"
,
"data/customs"
),
(
"/etc/settingsd"
,
"configs/settingsd"
)
)
:
data_files_list
.
append
((
maps_list_item
[
0
],
[
os
.
path
.
join
(
maps_list_item
[
1
],
item
)
...
...
@@ -69,9 +72,13 @@ class SettingsdInstall(install) :
const_py_file
=
open
(
os
.
path
.
join
(
self
.
install_libbase
,
"settingsd/const.py"
),
"r+"
)
const_py_file_data
=
const_py_file
.
read
()
for
replaces_list_item
in
(
(
"
\"
plugins/functions
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/functions"
))),
(
"
\"
plugins/actions
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/actions"
))),
(
"
\"
plugins/customs
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/customs"
))),
for
replaces_list_item
in
(
(
"
\"
plugins/functions
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/plugins/functions"
))),
(
"
\"
plugins/actions
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/plugins/actions"
))),
(
"
\"
plugins/customs
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/plugins/customs"
))),
(
"
\"
plugins/functions
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/plugins/functions"
))),
(
"
\"
data/functions
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/data/functions"
))),
(
"
\"
data/actions
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/data/actions"
))),
(
"
\"
data/customs
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
(
self
.
install_data
,
"share/settingsd/data/customs"
))),
(
"
\"
configs/settingsd
\"
"
,
"
\"
%
s
\"
"
%
(
os
.
path
.
join
((
self
.
root
if
self
.
root
!=
None
else
"/"
),
"etc/settingsd"
)))
)
:
const_py_file_data
=
const_py_file_data
.
replace
(
replaces_list_item
[
0
],
replaces_list_item
[
1
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment