Init
This commit is contained in:
parent
3a369b4dc8
commit
b88350048b
@ -41,18 +41,20 @@ while IFS=! read type app version outputfile url md5 realver
|
||||
do
|
||||
mkdir -p $WORK_DIR/${type}/${realver}
|
||||
pushd $WORK_DIR/${type}/${realver}
|
||||
tar -zxf $DIR/../$outputfile
|
||||
unzip $DIR/../$outputfile
|
||||
rpm2cpio $DIR/../$outputfile | cpio -idmv
|
||||
popd
|
||||
mkdir -p $WORK_DIR/${app}-${version}/${type}/${realver}
|
||||
pushd $WORK_DIR/${app}-${version}/${type}/${realver}
|
||||
case "${type}" in
|
||||
"amd64" )
|
||||
mv $WORK_DIR/${type}/${realver}/*/64bin/magician .
|
||||
mv $WORK_DIR/${type}/${realver}/magician .
|
||||
chmod +x magician
|
||||
;;
|
||||
"i386" )
|
||||
mv $WORK_DIR/${type}/${realver}/*/32bin/magician .
|
||||
mv $WORK_DIR/${type}/${realver}/magician .
|
||||
chmod +x magician
|
||||
;;
|
||||
*)
|
||||
|
@ -1,2 +1,4 @@
|
||||
amd64!magician!1.0.0!samsung_magician_dc-v1.0_rtm_p2.tar.gz!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/samsung_magician_dc-v1.0_rtm_p2.tar.gz!b7e88ecac15adddaa5bfae3f679ee2ca!1.00
|
||||
i386!magician!1.0.0!samsung_magician_dc-v1.0_rtm_p2.tar.gz!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/samsung_magician_dc-v1.0_rtm_p2.tar.gz!b7e88ecac15adddaa5bfae3f679ee2ca!1.00
|
||||
amd64!magician!2.0.0!Samsung_Magician_DC_Linux_64bit.zip!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/Samsung_Magician_DC_Linux_64bit.zip!07132c95d8bf88fad498fab4b7864b2e!2.00
|
||||
i386!magician!2.0.0!Samsung_Magician_DC_Linux_32bit.zip!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/Samsung_Magician_DC_Linux_32bit.zip!1357224cd841ef97b57c1a489e4f37b4!2.00
|
||||
amd64!magician!2.0.0!samsung_magician_dc-v1.0_rtm_p2.tar.gz!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/samsung_magician_dc-v1.0_rtm_p2.tar.gz!b7e88ecac15adddaa5bfae3f679ee2ca!1.00
|
||||
i386!magician!2.0.0!samsung_magician_dc-v1.0_rtm_p2.tar.gz!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/samsung_magician_dc-v1.0_rtm_p2.tar.gz!b7e88ecac15adddaa5bfae3f679ee2ca!1.00
|
||||
|
Loading…
Reference in New Issue
Block a user