Skip to content

Commit efec165

Browse files
committed
add a script to download sles binaries
1 parent ea9fd12 commit efec165

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/get_sles_bins.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
3+
filename=`curl https://download.opensuse.org/repositories/home:/opcm/SLE_15_SP1/x86_64/ -s | sed -n 's/.*\(pcm-0-[0-9]*\.1\.x86_64.rpm\).*/\1/p'`
4+
5+
curl -L https://download.opensuse.org/repositories/home:/opcm/SLE_15_SP1/x86_64/$filename -o $filename
6+
7+
rpm2cpio $filename | cpio -idmv
8+

0 commit comments

Comments
 (0)