blob: 4a801cf5192fac929b7303ba2c069efdee585ded (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
http://code.google.com/p/olwtools/issues/detail?id=8
--- a/install.pl
+++ b/install.pl
@@ -2,7 +2,6 @@
use strict;
use warnings;
-use Shell qw(install cp);
my $package = "volwheel";
@@ -33,17 +32,17 @@
system("sed -i 's|/usr/local|$prefix|g\' volwheel");
}
-my $output = install ("-v -d {$bindir,$libdir,$datadir,$hicolor,$desktop}");
+my $output = qx|install -v -d {$bindir,$libdir,$datadir,$hicolor,$desktop}|;
print $output;
-$output = install ("-v -m755 volwheel $bindir");
+$output = qx|install -v -m755 volwheel $bindir|;
print $output;
-$output = install ("-v -m644 lib/* $libdir");
+$output = qx|install -v -m644 lib/* $libdir|;
print $output;
-$output = cp ("-v -r icons $datadir/");
+$output = qx|cp -v -r icons $datadir/|;
print $output;
-$output = install ("-v -m644 icons/volwheel.svg $hicolor");
+$output = qx|install -v -m644 icons/volwheel.svg $hicolor|;
print $output;
-$output = install ("-v -m644 volwheel.desktop $desktop");
+$output = qx|install -v -m644 volwheel.desktop $desktop|;
print "\nVolWheel has been succesfully installed.\n\n";
|