Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gajim-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
58
Issues
58
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim-plugins
Commits
be3f2d16
Commit
be3f2d16
authored
Mar 07, 2018
by
Yann Leboulanger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Thilo Molitor] Ability to separate plugins dir when using -s option.
parent
9794deea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
plugin_installer/manifest.ini
plugin_installer/manifest.ini
+1
-1
plugin_installer/plugin_installer.py
plugin_installer/plugin_installer.py
+2
-2
No files found.
plugin_installer/manifest.ini
View file @
be3f2d16
[info]
name:
Plugin
Installer
short_name:
plugin_installer
version:
0.20.
0
version:
0.20.
1
description:
Install
and
upgrade
plugins
from
ftp
authors:
Denis
Fomin
<fominde@gmail.com>
Yann
Leboulanger
<asterix@lagaule.org>
...
...
plugin_installer/plugin_installer.py
View file @
be3f2d16
...
...
@@ -528,7 +528,7 @@ class DownloadAsync(threading.Thread):
local_dir
=
os
.
path
.
join
(
user_dir
,
remote_dir
)
if
not
os
.
path
.
isdir
(
local_dir
):
os
.
mkdir
(
local_dir
)
local_dir
=
os
.
path
.
split
(
user_dir
)[
0
]
local_dir
=
os
.
path
.
dirname
(
local_dir
)
# downloading zip file
try
:
...
...
@@ -538,7 +538,7 @@ class DownloadAsync(threading.Thread):
log
.
exception
(
"Error downloading plugin %s"
%
filename
)
continue
with
ZipFile
(
buf
)
as
zip_file
:
zip_file
.
extractall
(
os
.
path
.
join
(
local_dir
,
'plugins'
)
)
zip_file
.
extractall
(
local_dir
)
GLib
.
idle_add
(
self
.
plugin
.
on_plugin_downloaded
,
self
.
remote_dirs
)
...
...
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