summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/various.pm
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2011-11-07 11:38:18 +0000
committerColin Guthrie <colin@mageia.org>2011-11-07 11:38:18 +0000
commite820fa42bba5cf9932fc64261ebfdc4adf57ccd3 (patch)
treedd84e4fab2f4b2368210dd5782adefcd53936d3e /lib/Xconfig/various.pm
parent84c677f03575913899765fc316bfd71e4fb36ede (diff)
downloaddrakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.tar
drakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.tar.gz
drakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.tar.bz2
drakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.tar.xz
drakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.zip
Use the actual variable defined + update NEWS
Diffstat (limited to 'lib/Xconfig/various.pm')
-rw-r--r--lib/Xconfig/various.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm
index 32db2fa..d2eb74e 100644
--- a/lib/Xconfig/various.pm
+++ b/lib/Xconfig/various.pm
@@ -231,7 +231,7 @@ sub runlevel {
if (!$::testing && -f $t) {
my $d = "$::prefix/etc/systemd/system/default.target";
unlink($d);
- symlink($t, "$::prefix/etc/systemd/system/default.target");
+ symlink($t, $d);
}
} else {
cat_($f) =~ /^id:(\d):initdefault:\s*$/m && $1;