3 Commits
7 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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",
] ]
+1 -1
View File
@@ -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
View File
@@ -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"]
+3
View File
@@ -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(
Generated
+1 -1
View File
@@ -71,7 +71,7 @@ wheels = [
[[package]] [[package]]
name = "decman" name = "decman"
version = "1.2.0" version = "1.2.1"
source = { editable = "." } source = { editable = "." }
[package.optional-dependencies] [package.optional-dependencies]