Bootstrap and install improvements

This commit is contained in:
Andrejus
2020-07-13 15:17:29 +01:00
parent 8689f00131
commit 45426817de
4 changed files with 10 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ use warnings;
use autodie;
use Cwd;
use Data::Dumper;
use Stow;
@@ -17,7 +18,9 @@ my $stow = new Stow(%stow_options);
my @pkgs = ('files');
$stow->plan_stow(@pkgs);
my %conflicts = $stow->get_conflicts;
if (%conflicts) {
my $dump = Dumper(%conflicts);
die("Failed to stow, conflicts: $dump");
}
$stow->process_tasks();
print "done\n";

View File

@@ -1,7 +1,7 @@
# ---------------------------------------------------------------------------- #
# Cross-shell (only import if environment has been setup)
# ---------------------------------------------------------------------------- #
if test -e ~/.profile
if begin; test -e ~/.profile; and type -q bass; end
bass source ~/.profile
end

View File

@@ -1,4 +1,5 @@
curl
git
make
neovim
net-tools

View File

@@ -18,6 +18,7 @@ upgrade() {
-o Dpkg::Options::="--force-confold" \
-y \
dist-upgrade
sudo apt-get -y autoremove
}
# @arg $1 packages to install