mirror of
https://github.com/kiviktnm/decman.git
synced 2026-09-19 20:18:28 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c54220dbc | ||
|
|
e8d292be13 | ||
|
|
6c054681ee |
@@ -2,7 +2,7 @@
|
|||||||
name = "decman-flatpak"
|
name = "decman-flatpak"
|
||||||
version = "1.1.0"
|
version = "1.1.0"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = ["decman==1.2.0"]
|
dependencies = ["decman==1.2.1"]
|
||||||
|
|
||||||
[project.entry-points."decman.plugins"]
|
[project.entry-points."decman.plugins"]
|
||||||
flatpak = "decman.plugins.flatpak:Flatpak"
|
flatpak = "decman.plugins.flatpak:Flatpak"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name = "decman-pacman"
|
|||||||
version = "1.1.0"
|
version = "1.1.0"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"decman==1.2.0",
|
"decman==1.2.1",
|
||||||
"pyalpm",
|
"pyalpm",
|
||||||
"requests",
|
"requests",
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
name = "decman-systemd"
|
name = "decman-systemd"
|
||||||
version = "1.1.0"
|
version = "1.1.0"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = ["decman==1.2.0"]
|
dependencies = ["decman==1.2.1"]
|
||||||
|
|
||||||
[project.entry-points."decman.plugins"]
|
[project.entry-points."decman.plugins"]
|
||||||
systemd = "decman.plugins.systemd:Systemd"
|
systemd = "decman.plugins.systemd:Systemd"
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ class Systemd(plugins.Plugin):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
cmd = self.commands.user_daemon_reload(user)
|
cmd = self.commands.user_daemon_reload(user)
|
||||||
command.prg(cmd, pty=config.debug_output)
|
command.prg(cmd, pty=config.debug_output, check=False)
|
||||||
|
|
||||||
def reload_daemon(self):
|
def reload_daemon(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "decman"
|
name = "decman"
|
||||||
version = "1.2.0"
|
version = "1.2.1"
|
||||||
description = "Declarative package & configuration manager for Arch Linux."
|
description = "Declarative package & configuration manager for Arch Linux."
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
license-files = ["LICENSE"]
|
license-files = ["LICENSE"]
|
||||||
|
|||||||
@@ -300,6 +300,9 @@ class Symlink:
|
|||||||
os.unlink(link_name)
|
os.unlink(link_name)
|
||||||
|
|
||||||
os.symlink(self.target, link_name)
|
os.symlink(self.target, link_name)
|
||||||
|
if self.uid is not None:
|
||||||
|
assert self.gid is not None, "If uid is set, then gid is set."
|
||||||
|
os.chown(link_name, self.uid, self.gid, follow_symlinks=False)
|
||||||
return True
|
return True
|
||||||
except OSError as error:
|
except OSError as error:
|
||||||
raise errors.FSSymlinkFailedError(
|
raise errors.FSSymlinkFailedError(
|
||||||
|
|||||||
Reference in New Issue
Block a user