summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-08-06 00:02:58 +0200
committerRasmus Steinke <rasi@xssn.at>2017-08-06 00:02:58 +0200
commitc6aaf3116f87875b218ccf1a23a7be9771466234 (patch)
tree86bbf0bfc19063a0df6209512abfb4d9744a14c7
parent2118f8d2d9f0a6ac6c69a05737a0232e35f5cae3 (diff)
downloadperl-app-clerk-c6aaf3116f87875b218ccf1a23a7be9771466234.tar.gz
perl-app-clerk-c6aaf3116f87875b218ccf1a23a7be9771466234.tar.xz
list repo packages in array
-rw-r--r--install.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 1358431..a46ac5a 100644
--- a/install.sh
+++ b/install.sh
@@ -2,13 +2,18 @@
dependencies=(
"Config::Simple"
- "Data::Printer"
"inc::Module::Install"
"Data::MessagePack"
"File::Path"
"Net::MPD"
)
+repo_modules=(
+ "perl-config-simple"
+ "perl-file-slurp"
+ "perl-http-date"
+ )
+
printf "%s\n" "This script will install needed cpan modules"
printf "%s\n" "and copy configs to $HOME/.config/clerk"
@@ -46,7 +51,7 @@ case "${deps_choice}" in
do
cpanp i "${dep}"
done
- sudo pacman -S perl-config-simple perl-http-date perl-ipc-run
+ sudo pacman -S "${repo_modules[@]}"
;;
esac