Commit 508ec401 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

force-create link to overwrite existing link

parent b3f3d488
...@@ -96,5 +96,5 @@ function fail { ...@@ -96,5 +96,5 @@ function fail {
rm -r "${work_dir}" "${app_name}-${app_version}_macos_${package_version}.dmg" || fail rm -r "${work_dir}" "${app_name}-${app_version}_macos_${package_version}.dmg" || fail
# create short cut # create short cut
ssh all@netpd.org ln -s "${app_name}-${app_version}_macos_${package_version}.dmg" "public_html/software/${app_name}-${app_version}_macos.dmg" || fail ssh all@netpd.org ln -f -s "${app_name}-${app_version}_macos_${package_version}.dmg" "public_html/software/${app_name}-${app_version}_macos.dmg" || fail
) )
...@@ -91,5 +91,5 @@ function fail { ...@@ -91,5 +91,5 @@ function fail {
rm -rf "${work_dir}" "${app_name}-${app_version}_windows_${package_version}.zip" rm -rf "${work_dir}" "${app_name}-${app_version}_windows_${package_version}.zip"
# create shortcut to latest # create shortcut to latest
ssh all@netpd.org ln -s "${app_name}-${app_version}_windows_${package_version}.zip" "public_html/software/${app_name}-${app_version}_windows.zip" || fail ssh all@netpd.org ln -f -s "${app_name}-${app_version}_windows_${package_version}.zip" "public_html/software/${app_name}-${app_version}_windows.zip" || fail
) )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment