Rename qubes.xdg python module to qubesxdg
Do not interfere with 'qubes' module. QubesOS/qubes-issues#1813
This commit is contained in:
parent
1a601ddbe9
commit
76e12cae2d
4
Makefile
4
Makefile
@ -249,9 +249,9 @@ install-common:
|
||||
mkdir -p $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
||||
|
||||
ifeq ($(shell lsb_release -is), Debian)
|
||||
install -m 0644 misc/xdg.py $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
||||
install -m 0644 misc/qubesxdg.py $(DESTDIR)/$(PYTHON2_SITELIB)/
|
||||
else
|
||||
install -m 0644 misc/py2/xdg.py* $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
|
||||
install -m 0644 misc/py2/qubesxdg.py* $(DESTDIR)/$(PYTHON2_SITELIB)/
|
||||
endif
|
||||
|
||||
install -d $(DESTDIR)/mnt/removable
|
||||
|
@ -23,7 +23,7 @@ python2:
|
||||
python3:
|
||||
rm -rf py3
|
||||
mkdir -p py3
|
||||
cp dnf-qubes-hooks.py xdg.py py3/
|
||||
cp dnf-qubes-hooks.py qubesxdg.py py3/
|
||||
python3 -m compileall py3
|
||||
python3 -O -m compileall py3
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from qubes.xdg import launch
|
||||
from qubesxdg import launch
|
||||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -25,7 +25,7 @@ import subprocess
|
||||
import sys
|
||||
|
||||
from xdg.DesktopEntry import DesktopEntry
|
||||
from qubes.xdg import launch
|
||||
from qubesxdg import launch
|
||||
import xdg.BaseDirectory
|
||||
import os
|
||||
|
||||
@ -86,4 +86,4 @@ def main():
|
||||
process_autostart(sys.argv[1:])
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
@ -424,7 +424,7 @@ rm -f %{name}-%{version}
|
||||
/usr/lib/qubes/upgrades-status-notify
|
||||
/usr/lib/yum-plugins/yum-qubes-hooks.py*
|
||||
/usr/lib/dracut/dracut.conf.d/30-qubes.conf
|
||||
/usr/lib64/python2.7/site-packages/qubes/xdg.py*
|
||||
/usr/lib/python2.7/site-packages/qubesxdg.py*
|
||||
/usr/sbin/qubes-firewall
|
||||
/usr/sbin/qubes-netwatcher
|
||||
/usr/share/qubes/serial.conf
|
||||
|
Loading…
Reference in New Issue
Block a user