From dd55de4a567fb052644fbff98a089e3a7e4b5ae2 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Sun, 6 Feb 2022 21:06:57 +0100 Subject: [PATCH] add force to the installation symlinks --- scripts/umgap-setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/umgap-setup.sh b/scripts/umgap-setup.sh index ab93844..fe44312 100755 --- a/scripts/umgap-setup.sh +++ b/scripts/umgap-setup.sh @@ -208,17 +208,17 @@ fi if [ "$download_taxons" = "true" ]; then download "$taxons" "$datadir/$version/taxons.tsv" chmod 644 "$datadir/$version/taxons.tsv" - ln -s "$datadir/$version/taxons.tsv" "$configdir/$version/taxons.tsv" + ln -f -s "$datadir/$version/taxons.tsv" "$configdir/$version/taxons.tsv" fi if [ "$download_tryptic" = "true" ]; then download "$tryptic" "$datadir/$version/tryptic.fst" chmod 644 "$datadir/$version/tryptic.fst" - ln -s "$datadir/$version/tryptic.fst" "$configdir/$version/tryptic.fst" + ln -f -s "$datadir/$version/tryptic.fst" "$configdir/$version/tryptic.fst" fi if [ "$download_ninemer" = "true" ]; then download "$ninemer" "$datadir/$version/ninemer.fst" chmod 644 "$datadir/$version/ninemer.fst" - ln -s "$datadir/$version/ninemer.fst" "$configdir/$version/ninemer.fst" + ln -f -s "$datadir/$version/ninemer.fst" "$configdir/$version/ninemer.fst" fi