| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | SUDO="sudo "; |
| 4 | SUDO_WITH_ENVIRONMENT="$SUDO -E "; |
| 5 | OSNAME=`unamescip-shell system . . uname.`; |
| 6 | if [scip-shell system . . `[`. ! $EUID ] |
| 7 | then |
| 8 | EUID=`idscip-shell system . . id. -u`; |
| 9 | fi |
| 10 | if [scip-shell system . . `[`. $EUID -eq 0 ] |
| 11 | then |
| 12 | SUDO=""; |
| 13 | SUDO_WITH_ENVIRONMENT=""; |
| 14 | fi |
| 15 | case $OSNAME in |
| 16 | Linux) |
| 17 | if [scip-shell system . . `[`. -e "/etc/redhat-releasescip-shell filesystem . . `/etc/redhat-release`." ] |
| 18 | then |
| 19 | DNF="dnf" |
| 20 | $DNF --help >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. || DNF="yum" |
| 21 | if [scip-shell system . . `[`. ! -e "/etc/fedora-releasescip-shell filesystem . . `/etc/fedora-release`." ] |
| 22 | then |
| 23 | rpm -q --quiet epel-release 2>/dev/nullscip-shell filesystem . . `/dev/null`. && ${SUDO}$DNF install -y epel-release || truescip-shell system . . true. |
| 24 | fi |
| 25 | PACKAGES="dbus-x11 \ |
| 26 | firefox \ |
| 27 | git \ |
| 28 | make \ |
| 29 | mesa-dri-drivers \ |
| 30 | nginx \ |
| 31 | openssl \ |
| 32 | perl-Archive-Zip \ |
| 33 | perl-Crypt-PasswdMD5 \ |
| 34 | perl-Crypt-URandom \ |
| 35 | perl-Digest-SHA \ |
| 36 | perl-ExtUtils-MakeMaker \ |
| 37 | perl-File-HomeDir \ |
| 38 | perl-Font-TTF \ |
| 39 | perl-HTTP-Daemon \ |
| 40 | perl-HTTP-Message \ |
| 41 | perl-IO-Socket-SSL \ |
| 42 | perl-JSON \ |
| 43 | perl-PerlIO-utf8_strict \ |
| 44 | perl-Sub-Exporter \ |
| 45 | perl-Sub-Uplevel \ |
| 46 | perl-Text-CSV_XS \ |
| 47 | perl-TermReadKey \ |
| 48 | perl-Test-Exception \ |
| 49 | perl-Test-Memory-Cycle \ |
| 50 | perl-Test-Simple \ |
| 51 | perl-XML-Parser \ |
| 52 | squid \ |
| 53 | xorg-x11-server-Xvfb \ |
| 54 | yarnpkg" |
| 55 | rpm -q --quiet $PACKAGES || ${SUDO}$DNF install -y $PACKAGES |
| 56 | SOMETIMES_MISSING_PACKAGES="perl-Config-INI \ |
| 57 | perl-DirHandle \ |
| 58 | perl-PDF-API2" |
| 59 | for PACKAGE in $SOMETIMES_MISSING_PACKAGES |
| 60 | do |
| 61 | rpm -q --quiet $PACKAGE || ${SUDO}$DNF install -y $PACKAGE |
| 62 | done |
| 63 | for PACKAGE in Config::INI PDF::API2 |
| 64 | do |
| 65 | perlscip-shell system . . perl. -M$PACKAGE -e 'exit 0' |
| 66 | if [scip-shell system . . `[`. $? != 0 ] |
| 67 | then |
| 68 | ${SUDO}dnf install -y cpan |
| 69 | PERL_MM_USE_DEFAULT=1 ${SUDO_WITH_ENVIRONMENT}cpan $PACKAGE |
| 70 | fi |
| 71 | done |
| 72 | fi |
| 73 | if [scip-shell system . . `[`. -e "/etc/SUSE-brandscip-shell filesystem . . `/etc/SUSE-brand`." ] |
| 74 | then |
| 75 | PACKAGES="dbus-1-x11 \ |
| 76 | MozillaFirefox \ |
| 77 | git \ |
| 78 | make \ |
| 79 | Mesa-dri-nouveau \ |
| 80 | nginx \ |
| 81 | openssl \ |
| 82 | perl-Archive-Zip \ |
| 83 | perl-Config-INI \ |
| 84 | perl-Crypt-PasswdMD5 \ |
| 85 | perl-Crypt-URandom \ |
| 86 | perl-ExtUtils-MakeMaker \ |
| 87 | perl-File-HomeDir \ |
| 88 | perl-Font-TTF \ |
| 89 | perl-HTTP-Daemon \ |
| 90 | perl-HTTP-Message \ |
| 91 | perl-IO-Socket-SSL \ |
| 92 | perl-JSON \ |
| 93 | perl-PDF-API2 \ |
| 94 | perl-PerlIO-utf8_strict \ |
| 95 | perl-Sub-Exporter \ |
| 96 | perl-Sub-Uplevel \ |
| 97 | perl-Text-CSV_XS \ |
| 98 | perl-Term-ReadKey \ |
| 99 | perl-Test-Exception \ |
| 100 | perl-Test-Memory-Cycle \ |
| 101 | perl-Test-Simple \ |
| 102 | perl-XML-Parser \ |
| 103 | squid \ |
| 104 | xorg-x11-server-Xvfb \ |
| 105 | yarn" |
| 106 | rpm -q --quiet $PACKAGES || ${SUDO}zypper install -y $PACKAGES |
| 107 | fi |
| 108 | if [scip-shell system . . `[`. -e "/etc/debian_versionscip-shell filesystem . . `/etc/debian_version`." ] |
| 109 | then |
| 110 | ${SUDO}apt-get update |
| 111 | DEBIAN_FIREFOX_PACKAGE_NAME="firefox" |
| 112 | if [scip-shell system . . `[`. ! -e /etc/apt/preferences.d/mozillateamppascip-shell filesystem . . `/etc/apt/preferences.d/mozillateamppa`. ] |
| 113 | then |
| 114 | NUMBER_OF_FIREFOX_PACKAGES=`apt-cachescip-shell system . . apt-cache. search '^firefox$' | wcscip-shell system . . wc. -l` |
| 115 | if [scip-shell system . . `[`. $NUMBER_OF_FIREFOX_PACKAGES -eq 0 ] |
| 116 | then |
| 117 | # debian only has a firefox-esr package |
| 118 | DEBIAN_FIREFOX_PACKAGE_NAME="firefox-esr" |
| 119 | fi |
| 120 | fi |
| 121 | ${SUDO}apt-get install -y $DEBIAN_FIREFOX_PACKAGE_NAME |
| 122 | SNAP_FOUND=1 |
| 123 | SNAP_FIREFOX_FOUND=0 |
| 124 | snap list $DEBIAN_FIREFOX_PACKAGE_NAME 2>/dev/nullscip-shell filesystem . . `/dev/null`. && SNAP_FIREFOX_FOUND=1 || SNAP=0 |
| 125 | if [scip-shell system . . `[`. $SNAP_FOUND -eq 1 ] && [scip-shell system . . `[`. $SNAP_FIREFOX_FOUND -eq 1 ] |
| 126 | then |
| 127 | ${SUDO}snap remove $DEBIAN_FIREFOX_PACKAGE_NAME |
| 128 | ${SUDO}apt-get remove -y $DEBIAN_FIREFOX_PACKAGE_NAME |
| 129 | ${SUDO}add-apt-repository -y ppa:mozillateam/ppa |
| 130 | ${SUDO}apt-get update |
| 131 | ${SUDO}apt-get install -y -t 'o=LP-PPA-mozillateam' firefox |
| 132 | TMP_MOZILLA_REPO_DIR=`mktempscip-shell system . . mktemp. -d` |
| 133 | /usr/bin/echoscip-shell filesystem . . `/usr/bin/echo`. -e "Package: firefox*\nPin: release o=LP-PPA-mozillateam\nPin-Priority: 501" >$TMP_MOZILLA_REPO_DIR/mozillateamppa |
| 134 | ${SUDO}mv $TMP_MOZILLA_REPO_DIR/mozillateamppa /etc/apt/preferences.d/mozillateamppascip-shell filesystem . . `/etc/apt/preferences.d/mozillateamppa`. |
| 135 | rmdirscip-shell system . . rmdir. $TMP_MOZILLA_REPO_DIR |
| 136 | fi |
| 137 | ${SUDO}apt-get install -y \ |
| 138 | dbus-x11 \ |
| 139 | git \ |
| 140 | libarchive-zip-perl \ |
| 141 | libconfig-ini-perl \ |
| 142 | libcrypt-urandom-perl \ |
| 143 | libcrypt-passwdmd5-perl \ |
| 144 | libfile-homedir-perl \ |
| 145 | libhttp-daemon-perl \ |
| 146 | libhttp-message-perl \ |
| 147 | libio-socket-ssl-perl \ |
| 148 | libjson-perl \ |
| 149 | libpdf-api2-perl \ |
| 150 | libpod-parser-perl \ |
| 151 | libtest-checkmanifest-perl \ |
| 152 | libtest-pod-coverage-perl \ |
| 153 | libtext-csv-xs-perl \ |
| 154 | libterm-readkey-perl \ |
| 155 | liburi-perl \ |
| 156 | libxml-parser-perl \ |
| 157 | make \ |
| 158 | nginx \ |
| 159 | openssh-server \ |
| 160 | squid \ |
| 161 | xvfb \ |
| 162 | yarnpkg |
| 163 | fi |
| 164 | if [scip-shell system . . `[`. -e "/etc/alpine-releasescip-shell filesystem . . `/etc/alpine-release`." ] |
| 165 | then |
| 166 | PACKAGES="dbus-x11 \ |
| 167 | firefox \ |
| 168 | git \ |
| 169 | mesa-dri-nouveau \ |
| 170 | nginx \ |
| 171 | openssl \ |
| 172 | perl \ |
| 173 | perl-archive-zip \ |
| 174 | perl-config-ini \ |
| 175 | perl-crypt-passwdmd5 \ |
| 176 | perl-crypt-urandom \ |
| 177 | perl-file-homedir \ |
| 178 | perl-http-daemon \ |
| 179 | perl-http-message \ |
| 180 | perl-io-socket-ssl \ |
| 181 | perl-json \ |
| 182 | perl-pdf-api2 \ |
| 183 | perl-term-readkey \ |
| 184 | perl-test-pod \ |
| 185 | perl-test-pod-coverage \ |
| 186 | perl-test-simple \ |
| 187 | perl-text-csv_xs \ |
| 188 | perl-uri \ |
| 189 | perl-xml-parser \ |
| 190 | make \ |
| 191 | squid \ |
| 192 | xauth \ |
| 193 | xvfb \ |
| 194 | yarn" |
| 195 | ${SUDO}apk update |
| 196 | ${SUDO}apk upgrade |
| 197 | INSTALL_PACKAGES=0 |
| 198 | for PACKAGE_NAME in $PACKAGES |
| 199 | do |
| 200 | grepscip-shell system . . grep. $PACKAGE_NAME /etc/apk/worldscip-shell filesystem . . `/etc/apk/world`. >/dev/nullscip-shell filesystem . . `/dev/null`. || INSTALL_PACKAGES=1 |
| 201 | done |
| 202 | if [scip-shell system . . `[`. $INSTALL_PACKAGES -eq 1 ] |
| 203 | then |
| 204 | ${SUDO}apk add $PACKAGES |
| 205 | if [scip-shell system . . `[`. $? != 0 ] |
| 206 | then |
| 207 | catscip-shell system . . cat. <<"_APK_REPO_"; |
| 208 | |
| 209 | Check the /etc/apk/repositories file as it needs to have the community and main repos uncommented and |
| 210 | probably the edge repositories as well, like so; |
| 211 | |
| 212 | #/media/cdrom/apks |
| 213 | http://dl-cdn.alpinelinux.org/alpine/v3.16/main |
| 214 | http://dl-cdn.alpinelinux.org/alpine/v3.16/community |
| 215 | http://dl-cdn.alpinelinux.org/alpine/edge/main |
| 216 | http://dl-cdn.alpinelinux.org/alpine/edge/community |
| 217 | http://dl-cdn.alpinelinux.org/alpine/edge/testing |
| 218 | |
| 219 | _APK_REPO_ |
| 220 | fi |
| 221 | fi |
| 222 | fi |
| 223 | ;; |
| 224 | DragonFly) |
| 225 | PACKAGES="firefox \ |
| 226 | git \ |
| 227 | mesa-dri-gallium \ |
| 228 | nginx \ |
| 229 | openssl \ |
| 230 | perl5 \ |
| 231 | p5-Archive-Zip \ |
| 232 | p5-JSON \ |
| 233 | p5-Config-INI \ |
| 234 | p5-Crypt-PasswdMD5 \ |
| 235 | p5-Crypt-URandom \ |
| 236 | p5-File-HomeDir \ |
| 237 | p5-Digest-SHA \ |
| 238 | p5-HTTP-Daemon \ |
| 239 | p5-HTTP-Message \ |
| 240 | p5-IO-Socket-SSL \ |
| 241 | p5-PDF-API2 \ |
| 242 | p5-Text-CSV_XS \ |
| 243 | p5-Term-ReadKey \ |
| 244 | p5-Test-CheckManifest \ |
| 245 | p5-Test-Pod \ |
| 246 | p5-Test-Pod-Coverage \ |
| 247 | p5-Test-Simple \ |
| 248 | p5-XML-Parser \ |
| 249 | squid \ |
| 250 | xauth \ |
| 251 | xorg-vfbserver \ |
| 252 | yarn" |
| 253 | ${SUDO}pkg upgrade -y |
| 254 | pkg info $PACKAGES >/dev/nullscip-shell filesystem . . `/dev/null`. || ${SUDO}pkg install -y $PACKAGES |
| 255 | if [scip-shell system . . `[`. ! -e /etc/machine-idscip-shell filesystem . . `/etc/machine-id`. ] |
| 256 | then |
| 257 | ${SUDO}dbus-uuidgen --ensure=/etc/machine-id |
| 258 | fi |
| 259 | ;; |
| 260 | FreeBSD) |
| 261 | PACKAGES="firefox-esr \ |
| 262 | git \ |
| 263 | nginx \ |
| 264 | openssl \ |
| 265 | perl5 \ |
| 266 | p5-Archive-Zip \ |
| 267 | p5-JSON \ |
| 268 | p5-Config-INI \ |
| 269 | p5-Crypt-PasswdMD5 \ |
| 270 | p5-Crypt-URandom \ |
| 271 | p5-File-HomeDir \ |
| 272 | p5-Digest-SHA \ |
| 273 | p5-HTTP-Daemon \ |
| 274 | p5-HTTP-Message \ |
| 275 | p5-IO-Socket-SSL \ |
| 276 | p5-PDF-API2 \ |
| 277 | p5-Text-CSV_XS \ |
| 278 | p5-Term-ReadKey \ |
| 279 | p5-Test-CheckManifest \ |
| 280 | p5-Test-Pod \ |
| 281 | p5-Test-Pod-Coverage \ |
| 282 | p5-Test-Simple \ |
| 283 | p5-XML-Parser \ |
| 284 | squid \ |
| 285 | xauth \ |
| 286 | xorg-vfbserver \ |
| 287 | yarn" |
| 288 | ${SUDO}pkg upgrade -y |
| 289 | pkg info $PACKAGES >/dev/nullscip-shell filesystem . . `/dev/null`. || ${SUDO}pkg install -y $PACKAGES |
| 290 | mountscip-shell system . . mount. | grepscip-shell system . . grep. fdescfs >/dev/nullscip-shell filesystem . . `/dev/null`. || ${SUDO}mount -t fdescfs fdesc /dev/fdscip-shell filesystem . . `/dev/fd`. |
| 291 | if [scip-shell system . . `[`. ! -e /etc/machine-idscip-shell filesystem . . `/etc/machine-id`. ] |
| 292 | then |
| 293 | ${SUDO}dbus-uuidgen --ensure=/etc/machine-id |
| 294 | fi |
| 295 | ;; |
| 296 | MidnightBSD) |
| 297 | PACKAGES="firefox \ |
| 298 | git \ |
| 299 | nginx \ |
| 300 | openssl \ |
| 301 | perl5 \ |
| 302 | p5-Archive-Zip \ |
| 303 | p5-JSON \ |
| 304 | p5-Config-INI \ |
| 305 | p5-Crypt-PasswdMD5 \ |
| 306 | p5-Crypt-URandom \ |
| 307 | p5-File-HomeDir \ |
| 308 | p5-Digest-SHA \ |
| 309 | p5-HTTP-Daemon \ |
| 310 | p5-HTTP-Message \ |
| 311 | p5-IO-Socket-SSL \ |
| 312 | p5-PDF-API2 \ |
| 313 | p5-Text-CSV_XS \ |
| 314 | p5-Term-ReadKey \ |
| 315 | p5-Test-CheckManifest \ |
| 316 | p5-Test-Pod \ |
| 317 | p5-Test-Pod-Coverage \ |
| 318 | p5-Test-Simple \ |
| 319 | p5-XML-Parser \ |
| 320 | squid \ |
| 321 | xauth \ |
| 322 | xorg-vfbserver \ |
| 323 | yarn" |
| 324 | for NAME in $PACKAGES |
| 325 | do |
| 326 | mport info $NAME >/dev/nullscip-shell filesystem . . `/dev/null`. || ${SUDO}mport install $NAME |
| 327 | done |
| 328 | mountscip-shell system . . mount. | grepscip-shell system . . grep. fdescfs >/dev/nullscip-shell filesystem . . `/dev/null`. || ${SUDO}mount -t fdescfs fdesc /dev/fdscip-shell filesystem . . `/dev/fd`. |
| 329 | if [scip-shell system . . `[`. ! -e /etc/machine-idscip-shell filesystem . . `/etc/machine-id`. ] |
| 330 | then |
| 331 | ${SUDO}dbus-uuidgen --ensure=/etc/machine-id |
| 332 | fi |
| 333 | ;; |
| 334 | OpenBSD) |
| 335 | PACKAGES="firefox \ |
| 336 | git \ |
| 337 | nginx \ |
| 338 | p5-Archive-Zip \ |
| 339 | p5-JSON \ |
| 340 | p5-Config-INI \ |
| 341 | p5-Crypt-PasswdMD5 \ |
| 342 | p5-Crypt-URandom \ |
| 343 | p5-File-HomeDir \ |
| 344 | p5-HTTP-Daemon \ |
| 345 | p5-HTTP-Message \ |
| 346 | p5-IO-Socket-SSL \ |
| 347 | p5-Params-Util \ |
| 348 | p5-PerlIO-utf8_strict \ |
| 349 | p5-PDF-API2 \ |
| 350 | p5-Sub-Exporter \ |
| 351 | p5-Sub-Uplevel \ |
| 352 | p5-Sub-Install \ |
| 353 | p5-Test-CheckManifest \ |
| 354 | p5-Test-Pod-Coverage \ |
| 355 | p5-Text-CSV_XS \ |
| 356 | p5-XML-Parser \ |
| 357 | squid \ |
| 358 | yarn" |
| 359 | ${SUDO}pkg_add -u |
| 360 | pkg_info $PACKAGES >/dev/nullscip-shell filesystem . . `/dev/null`. || ${SUDO}pkg_add -I $PACKAGES |
| 361 | perlscip-shell system . . perl. -MConfig::INI -e 'exit 0' || PERL_MM_USE_DEFAULT=1 ${SUDO_WITH_ENVIRONMENT} cpan Config::INI |
| 362 | perlscip-shell system . . perl. -MCrypt::URandom -e 'exit 0' || PERL_MM_USE_DEFAULT=1 ${SUDO_WITH_ENVIRONMENT} cpan Crypt::URandom |
| 363 | ;; |
| 364 | NetBSD) |
| 365 | PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(unamescip-shell system . . uname. -p)/$(unamescip-shell system . . uname. -r|cutscip-shell system . . cut. -f '1 2' -d.)/All/" |
| 366 | export PKG_PATH |
| 367 | ${SUDO}pkg_add pkgin |
| 368 | PACKAGES="firefox \ |
| 369 | git \ |
| 370 | mozilla-rootcerts-openssl \ |
| 371 | nginx \ |
| 372 | openssl \ |
| 373 | p5-Archive-Zip \ |
| 374 | p5-JSON \ |
| 375 | p5-Config-INI \ |
| 376 | p5-Crypt-PasswdMD5 \ |
| 377 | p5-Crypt-URandom \ |
| 378 | p5-File-HomeDir \ |
| 379 | p5-HTTP-Daemon \ |
| 380 | p5-HTTP-Message \ |
| 381 | p5-IO-Socket-SSL \ |
| 382 | p5-Params-Util \ |
| 383 | p5-PerlIO-utf8_strict \ |
| 384 | p5-PDF-API2 \ |
| 385 | p5-Sub-Exporter \ |
| 386 | p5-Sub-Uplevel \ |
| 387 | p5-Sub-Install \ |
| 388 | p5-Text-CSV_XS \ |
| 389 | p5-Term-ReadKey \ |
| 390 | p5-Test-CheckManifest \ |
| 391 | p5-Test-Pod \ |
| 392 | p5-Test-Pod-Coverage \ |
| 393 | p5-XML-Parser \ |
| 394 | squid \ |
| 395 | yarn" |
| 396 | INSTALL_PACKAGES="" |
| 397 | ${SUDO}pkgin upgrade |
| 398 | for NAME in $PACKAGES |
| 399 | do |
| 400 | pkgin list | grepscip-shell system . . grep. $NAME >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. || INSTALL_PACKAGES="$INSTALL_PACKAGES $NAME" |
| 401 | done |
| 402 | if [scip-shell system . . `[`. "$INSTALL_PACKAGES" != "" ] |
| 403 | then |
| 404 | ${SUDO}pkg_add ${PKG_PATH}/pkgin |
| 405 | ${SUDO}pkgin -y install $INSTALL_PACKAGES |
| 406 | if [scip-shell system . . `[`. $? != 0 ] |
| 407 | then |
| 408 | catscip-shell system . . cat. <<_PKG_PATH_ |
| 409 | |
| 410 | pkg_add failed. PKG_PATH was set to $PKG_PATH |
| 411 | |
| 412 | _PKG_PATH_ |
| 413 | fi |
| 414 | fi |
| 415 | ;; |
| 416 | CYGWIN_NT*) |
| 417 | PACKAGE_LIST="perl-Archive-Zip" |
| 418 | for PACKAGE in perl-JSON \ |
| 419 | perl-Config-INI \ |
| 420 | perl-Crypt-PasswdMD5 \ |
| 421 | perl-Crypt-URandom \ |
| 422 | perl-File-HomeDir \ |
| 423 | perl-Digest-SHA \ |
| 424 | perl-HTTP-Daemon \ |
| 425 | perl-HTTP-Message \ |
| 426 | perl-IO-Socket-SSL \ |
| 427 | perl-PDF-API2 \ |
| 428 | perl-PerlIO-utf8_strict \ |
| 429 | perl-Sub-Exporter \ |
| 430 | perl-Sub-Uplevel \ |
| 431 | perl-Text-CSV_XS \ |
| 432 | perl-Term-ReadKey \ |
| 433 | perl-Test-Simple \ |
| 434 | perl-XML-Parser |
| 435 | do |
| 436 | PACKAGE_LIST="$PACKAGE_LIST,$PACKAGE" |
| 437 | done |
| 438 | GUESS_EXE=`cygpath -u $USERPROFILE`/Downloads/setup-x86_64.exe |
| 439 | grepscip-shell system . . grep. -ail 'Cygwin installation tool' $GUESS_EXE |
| 440 | if [scip-shell system . . `[`. $? == 0 ] |
| 441 | then |
| 442 | SETUP_EXE=$GUESS_EXE |
| 443 | else |
| 444 | SETUP_EXE=`findscip-shell system . . find. /cygdrivescip-shell filesystem . . `/cygdrive`. -name 'setup-x86_64.exe' -exec grep -ail 'Cygwin installation tool' {} \;` |
| 445 | fi |
| 446 | $SETUP_EXE -q -P $PACKAGE_LIST |
| 447 | perlscip-shell system . . perl. -MConfig::INI -e 'exit 0' || PERL_MM_USE_DEFAULT=1 cpanscip-shell system . . cpan. Config::INI |
| 448 | perlscip-shell system . . perl. -MPDF::API2 -e 'exit 0' || PERL_MM_USE_DEFAULT=1 cpanscip-shell system . . cpan. PDF::API2 |
| 449 | perlscip-shell system . . perl. -MCrypt::URandom -e 'exit 0' || PERL_MM_USE_DEFAULT=1 cpanscip-shell system . . cpan. Crypt::URandom |
| 450 | perlscip-shell system . . perl. -MCrypt::PasswdMD5 -e 'exit 0' || PERL_MM_USE_DEFAULT=1 cpanscip-shell system . . cpan. Crypt::PasswdMD5 |
| 451 | ;; |
| 452 | Darwin) |
| 453 | for PACKAGE in Archive::Zip \ |
| 454 | JSON \ |
| 455 | Config::INI \ |
| 456 | Crypt::PasswdMD5 \ |
| 457 | Crypt::URandom \ |
| 458 | File::HomeDir \ |
| 459 | Digest::SHA \ |
| 460 | HTTP::Daemon \ |
| 461 | HTTP::Message \ |
| 462 | IO::Socket::SSL \ |
| 463 | PDF::API2 \ |
| 464 | PerlIO::utf8_strict \ |
| 465 | Sub::Exporter \ |
| 466 | Sub::Uplevel \ |
| 467 | Text::CSV_XS \ |
| 468 | Term::ReadKey \ |
| 469 | Test::CheckManifest \ |
| 470 | Test::Pod \ |
| 471 | Test::Pod::Coverage \ |
| 472 | Test::Simple \ |
| 473 | XML::Parser |
| 474 | do |
| 475 | perlscip-shell system . . perl. -M$PACKAGE -e 'exit 0' 2>>/dev/nullscip-shell filesystem . . `/dev/null`. || PERL_MM_USE_DEFAULT=1 ${SUDO_WITH_ENVIRONMENT}cpan $PACKAGE |
| 476 | done |
| 477 | ;; |
| 478 | *) |
| 479 | echoscip-shell system . . echo. "Any help with patching '$OSNAME' support would be awesome???" |
| 480 | ;; |
| 481 | esac |