#!/bin/bash # # Arnost Dudek 2016 # PACKAGES="php-pear-PHP-CodeSniffer php-phpmd-PHP-PMD" APACKAGES="linter minimap minimap-autohide minimap-linter minimap-git-diff minimap-cursorline color-picker merge-conflicts autocomplete-php csslint linter-csslint htmlhint linter-htmlhint jshint linter-jshint linter-php linter-phpcs linter-phpmd linter-less refactor js-refactor goto-definition atom-ide-ui atom-typescript"; # already bundled in Atom # autocomplete-css # autocomplete-html echo "Starting dnf install" for PACKAGE in $PACKAGES; do if [ $DEBUG ]; then echo "DNF: Installing \"$PACKAGE\"" fi sudo dnf install $PACKAGE done; echo "Dnf install ends" echo "Starting apm install" for PACKAGE in $APACKAGES; do if [ $DEBUG ]; then echo "APM: Installing \"$PACKAGE\"" fi apm install $PACKAGE done; echo "Apm install ends"