添加 fake-automount for D2、C5

This commit is contained in:
Hyy2001X
2022-03-23 00:46:35 +08:00
parent 334c41097c
commit d333a208ca
4 changed files with 77 additions and 3 deletions
+3 -3
View File
@@ -499,11 +499,11 @@ Copy() {
MKDIR $2
if [[ -z $3 ]]
then
ECHO "Copying $1 to $2 ..."
ECHO "[C] Copying $1 to $2 ..."
cp -a $1 $2
else
ECHO "Copying and renaming $1 to $2/$3 ..."
ECHO "[R] Copying $1 to $2/$3 ..."
cp -a $1 $2/$3
fi
[[ $? == 0 ]] && ECHO "Done" || ECHO "Failed"
[[ $? == 0 ]] && ECHO "Done"
}