Changeset 3906 in MondoRescue
- Timestamp:
- Apr 1, 2025, 10:57:16 AM (4 months ago)
- Location:
- tags/3.2.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/3.2.3/mindi/mindi
r3895 r3906 2134 2134 dname=`pbdistrocheck | grep -E '^Name:' | cut -d':' -f2` 2135 2135 dver=`pbdistrocheck | grep -E '^Ver:' | cut -d':' -f2` 2136 if [ $dname = "rhel" ] && [ $dver = "6" ]; then2136 if [ $dname = "rhel" -o $dname = "centos" -o $dname = "oel" ] && [ $dver = "6" ]; then 2137 2137 boottype=grub 2138 elif [ $dname = "rhel" ] && [ $dver = "7" ]; then 2138 elif [ $dname = "rhel" -o $dname = "centos" -o $dname = "oel" -o $dname = "rocky" $dname = "alma" ] && [ $dver -ge "7" ]; then 2139 boottype=grub2 2140 elif [ $dname = "fedora" ] && [ $dver -ge 20 ]; then 2141 boottype=grub2 2142 elif [ $dname = "sles" ] && [ $dver -ge 12 ]; then 2139 2143 boottype=grub2 2140 2144 elif [ $dname = "debian" ] && [ $dver = "8" ]; then 2145 boottype=grub2 2146 elif [ $dname = "ubuntu" ] && [ $dver -ge 16 ]; then 2141 2147 boottype=grub2 2142 2148 else -
tags/3.2.3/mondo/src/common/libmondo-files.c
r3430 r3906 1019 1019 find_and_store_mondoarchives_home(g_mondo_home); 1020 1020 } 1021 mr_asprintf(command, CP_BIN " --parents -pRdf %s %s", g_mondo_home, bkpinfo->scratchdir);1021 mr_asprintf(command, "tar cf - %s | (cd %s ; tar xf -)", g_mondo_home, bkpinfo->scratchdir); 1022 1022 1023 1023 log_msg(4, "command = %s", command);
Note:
See TracChangeset
for help on using the changeset viewer.