Path: blob/master/Tests/CPackComponentsForAll/symlink_postinstall_expected.txt
3150 views
if [ "$RPM_INSTALL_PREFIX0" != "/usr/foo/bar/lib" ]; then1if [ "$RPM_INSTALL_PREFIX1" != "/usr/foo/bar/other_relocatable" ]; then2if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_1" ]; then3ln -s "$RPM_INSTALL_PREFIX1/depth_two" "$RPM_INSTALL_PREFIX0/inside_relocatable_two/depth_two/symlink_other_relocatable_path"4CPACK_RPM_RELOCATED_SYMLINK_1=true5fi6fi7if [ "$RPM_INSTALL_PREFIX2" != "/usr/foo/bar/lib/inside_relocatable_two/depth_two/different_relocatable" ]; then8if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_0" ]; then9ln -s "$RPM_INSTALL_PREFIX2/bar" "$RPM_INSTALL_PREFIX0/inside_relocatable_one/depth_two/symlink_relocatable_subpath"10CPACK_RPM_RELOCATED_SYMLINK_0=true11fi12fi13if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_0" ]; then14ln -s "$RPM_INSTALL_PREFIX0/inside_relocatable_two/depth_two/different_relocatable/bar" "$RPM_INSTALL_PREFIX0/inside_relocatable_one/depth_two/symlink_relocatable_subpath"15CPACK_RPM_RELOCATED_SYMLINK_0=true16fi17if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_0" ]; then18ln -s "/usr/foo/bar/lib/inside_relocatable_two/depth_two/different_relocatable/bar" "$RPM_INSTALL_PREFIX0/inside_relocatable_one/depth_two/symlink_relocatable_subpath"19CPACK_RPM_RELOCATED_SYMLINK_0=true20fi21if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_1" ]; then22ln -s "/usr/foo/bar/other_relocatable/depth_two" "$RPM_INSTALL_PREFIX0/inside_relocatable_two/depth_two/symlink_other_relocatable_path"23CPACK_RPM_RELOCATED_SYMLINK_1=true24fi25fi26if [ "$RPM_INSTALL_PREFIX1" != "/usr/foo/bar/other_relocatable" ]; then27if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_1" ]; then28ln -s "$RPM_INSTALL_PREFIX1/depth_two" "/usr/foo/bar/lib/inside_relocatable_two/depth_two/symlink_other_relocatable_path"29CPACK_RPM_RELOCATED_SYMLINK_1=true30fi31fi32if [ "$RPM_INSTALL_PREFIX2" != "/usr/foo/bar/lib/inside_relocatable_two/depth_two/different_relocatable" ]; then33if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_0" ]; then34ln -s "$RPM_INSTALL_PREFIX2/bar" "/usr/foo/bar/lib/inside_relocatable_one/depth_two/symlink_relocatable_subpath"35CPACK_RPM_RELOCATED_SYMLINK_0=true36fi37fi38if [ "$RPM_INSTALL_PREFIX0" != "/usr/foo/bar/lib" ]; then39if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_0" ]; then40ln -s "$RPM_INSTALL_PREFIX0/inside_relocatable_two/depth_two/different_relocatable/bar" "/usr/foo/bar/lib/inside_relocatable_one/depth_two/symlink_relocatable_subpath"41CPACK_RPM_RELOCATED_SYMLINK_0=true42fi43if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_2" ]; then44ln -s "$RPM_INSTALL_PREFIX0/inside_relocatable_two/depth_two" "/usr/foo/bar/non_relocatable/depth_two/symlink_from_non_relocatable_path"45CPACK_RPM_RELOCATED_SYMLINK_2=true46fi47fi48if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_0" ]; then49ln -s "/usr/foo/bar/lib/inside_relocatable_two/depth_two/different_relocatable/bar" "/usr/foo/bar/lib/inside_relocatable_one/depth_two/symlink_relocatable_subpath"50fi51if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_1" ]; then52ln -s "/usr/foo/bar/other_relocatable/depth_two" "/usr/foo/bar/lib/inside_relocatable_two/depth_two/symlink_other_relocatable_path"53fi54if [ -z "$CPACK_RPM_RELOCATED_SYMLINK_2" ]; then55ln -s "/usr/foo/bar/lib/inside_relocatable_two/depth_two" "/usr/foo/bar/non_relocatable/depth_two/symlink_from_non_relocatable_path"56fi575859