diff --git a/scripts/install b/scripts/install index 4a060f3..ab54a3f 100755 --- a/scripts/install +++ b/scripts/install @@ -124,8 +124,8 @@ npm install # Configure haste with config.js file #================================================= - cp ../conf/config.js "$DESTDIR"/config.js - sed -i "s@YNH_DATA_PATH@$DATA_PATH@g" "$DESTDIR"/config.js + cp ../conf/config.js "$final_path"/config.js + sed -i "s@YNH_DATA_PATH@$DATA_PATH@g" "$final_path"/config.js #================================================= # Add HASTE AS A BINARY FILE