Sisyphus repository
Last update: 17 october 2019 | SRPMs: 17500 | Visits: 15287743
en ru br
ALT Linux repos
S:8.95-alt7
5.0: 8.72-alt1
4.1: 8.69-alt1
4.0: 8.64-alt0.1

Group :: Archiving/Other
RPM: alien

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: alien-alt-plaintext-scripts.patch
Download


diff --git a/alien/Alien/Package/Rpm.pm b/alien/Alien/Package/Rpm.pm
index 77ca410..3d7f9db 100644
--- a/alien/Alien/Package/Rpm.pm
+++ b/alien/Alien/Package/Rpm.pm
@@ -525,6 +525,7 @@ sub _script_helper {
 		$this->{$script} = $value;
 	}
 	$this->{$script} = shift if @_;
+        return $this->{$script};
 
 	# get
 	return unless defined wantarray; # optimization
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin