diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-08-06 00:02:58 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-08-06 00:02:58 +0200 |
commit | c6aaf3116f87875b218ccf1a23a7be9771466234 (patch) | |
tree | 86bbf0bfc19063a0df6209512abfb4d9744a14c7 | |
parent | 2118f8d2d9f0a6ac6c69a05737a0232e35f5cae3 (diff) | |
download | perl-app-clerk-c6aaf3116f87875b218ccf1a23a7be9771466234.tar.gz perl-app-clerk-c6aaf3116f87875b218ccf1a23a7be9771466234.tar.xz |
list repo packages in array
-rw-r--r-- | install.sh | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |