Closed janaurka closed 7 years ago
The bash test was wrong since the ln syntax is ln $existing $the-link and if
test
ln
ln $existing $the-link
ln -s $PACKAGE_DIR $PACKAGE_DIR_OLD we need to check if $PACKAGE_DIR_OLD does not exist already.
ln -s $PACKAGE_DIR $PACKAGE_DIR_OLD
$PACKAGE_DIR_OLD
Thx + props to @szaouam for finding this.
Good catch!
The bash
test
was wrong since theln
syntax isln $existing $the-link
and ifln -s $PACKAGE_DIR $PACKAGE_DIR_OLD
we need to check if$PACKAGE_DIR_OLD
does not exist already.Thx + props to @szaouam for finding this.