|
14 | 14 | # need to include the base URL. |
15 | 15 | # ----------------------------------------------------------------------------- |
16 | 16 |
|
17 | | -BASE_URL="https://download.copr.fedorainfracloud.org/results/ryanabx/cosmic-epoch/fedora-41-x86_64" |
18 | | -FILES=( |
19 | | - # cosmic-app-library |
20 | | - "08517080-cosmic-app-library/cosmic-app-library-1.0.0~alpha.5.1%5Egit20250115.647d238-1.fc41.x86_64.rpm" |
| 17 | +echo "Obtaining copr2url..." |
| 18 | +wget https://github.com/mirkobrombin/copr2url/releases/download/continuous/copr2url -O /tmp/copr2url |
| 19 | +chmod +x /tmp/copr2url |
21 | 20 |
|
22 | | - # cosmic-applets |
23 | | - "08568688-cosmic-applets/cosmic-applets-1.0.0~alpha.5.1%5Egit20250124.726c828-1.fc41.x86_64.rpm" |
24 | | - |
25 | | - # cosmic-bg |
26 | | - "08517067-cosmic-bg/cosmic-bg-1.0.0~alpha.5.1%5Egit20241009.fd44edf-1.fc41.x86_64.rpm" |
27 | | - |
28 | | - # cosmic-calendar |
29 | | - "08544621-cosmic-comp/cosmic-comp-1.0.0~alpha.5.1%5Egit20250118.b87049b-1.fc41.x86_64.rpm" |
30 | | - |
31 | | - # cosmic-desktop |
32 | | - "08517069-cosmic-desktop/cosmic-desktop-1.0.0~alpha.5.1%5E20250115-1.fc41.noarch.rpm" |
33 | | - |
34 | | - # cosmic-dock |
35 | | - "08553978-cosmic-edit/cosmic-edit-1.0.0~alpha.5.1%5Egit20250117.3effc64-1.fc41.x86_64.rpm" |
36 | | - |
37 | | - # cosmic-epoch |
38 | | - "08517071-cosmic-epoch/cosmic-epoch-1.0.0~alpha.5.1%5E20250115-1.fc41.noarch.rpm" |
39 | | - |
40 | | - # cosmic-files |
41 | | - "08568685-cosmic-files/cosmic-files-1.0.0~alpha.5.1%5Egit20250124.ceab783-1.fc41.x86_64.rpm" |
42 | | - |
43 | | - # cosmic-greeter |
44 | | - "08568686-cosmic-greeter/cosmic-greeter-1.0.0~alpha.5.1%5Egit20250124.5527c9b-1.fc41.x86_64.rpm" |
45 | | - |
46 | | - # cosmic-icon-theme |
47 | | - "08517072-cosmic-icon-theme/cosmic-icon-theme-1.0.0~alpha.5.1%5Egit20250110.52ad55c-1.fc41.noarch.rpm" |
48 | | - |
49 | | - # cosmic-idle |
50 | | - "08517085-cosmic-idle/cosmic-idle-1.0.0~alpha.5.1%5Egit20241224.7899fcc-1.fc41.x86_64.rpm" |
51 | | - |
52 | | - # cosmic-launcher |
53 | | - "08565562-cosmic-launcher/cosmic-launcher-1.0.0~alpha.5.1%5Egit20250123.538d391-1.fc41.x86_64.rpm" |
54 | | - |
55 | | - # cosmic-notifications |
56 | | - "08517075-cosmic-notifications/cosmic-notifications-1.0.0~alpha.5.1%5Egit20250114.5c33113-1.fc41.x86_64.rpm" |
57 | | - |
58 | | - # cosmic-osd |
59 | | - "08524593-cosmic-osd/cosmic-osd-1.0.0~alpha.5.1%5Egit20250116.9b4e2be-1.fc41.x86_64.rpm" |
60 | | - |
61 | | - # cosmic-panel |
62 | | - "08565563-cosmic-panel/cosmic-panel-1.0.0~alpha.5.1%5Egit20250123.107f597-1.fc41.x86_64.rpm" |
63 | | - |
64 | | - # cosmic-player |
65 | | - "08568690-cosmic-player/cosmic-player-1.0.0~alpha.5.1%5Egit20250124.63735cd-1.fc41.x86_64.rpm" |
66 | | - |
67 | | - # cosmic-randr |
68 | | - "08517076-cosmic-randr/cosmic-randr-1.0.0~alpha.5.1%5Egit20250113.da7df14-1.fc41.x86_64.rpm" |
69 | | - |
70 | | - # cosmic-screenshot |
71 | | - "08517061-cosmic-screenshot/cosmic-screenshot-1.0.0~alpha.5.1%5Egit20250114.10a564d-1.fc41.x86_64.rpm" |
72 | | - |
73 | | - # cosmic-session |
74 | | - "08517077-cosmic-session/cosmic-session-1.0.0~alpha.5.1%5Egit20250114.6e48e12-1.fc41.x86_64.rpm" |
75 | | - |
76 | | - # cosmic-settings |
77 | | - "08565566-cosmic-settings/cosmic-settings-1.0.0~alpha.5.1%5Egit20250123.6f05e9e-1.fc41.x86_64.rpm" |
78 | | - |
79 | | - # cosmic-settings-daemon |
80 | | - "08544623-cosmic-settings-daemon/cosmic-settings-daemon-1.0.0~alpha.5.1%5Egit20250118.fe529ae-1.fc41.x86_64.rpm" |
81 | | - |
82 | | - # cosmic-store |
83 | | - "08517062-cosmic-store/cosmic-store-1.0.0~alpha.5.1%5Egit20250114.6473636-1.fc41.x86_64.rpm" |
84 | | - |
85 | | - # cosmic-term |
86 | | - "08565567-cosmic-term/cosmic-term-1.0.0~alpha.5.1%5Egit20250123.23a5851-1.fc41.x86_64.rpm" |
87 | | - |
88 | | - # cosmic-wallpapers |
89 | | - "08568903-cosmic-wallpapers/cosmic-wallpapers-1.0.0~alpha.5.1%5Egit20241031.cb8e6d6-1.fc41.noarch.rpm" |
90 | | - |
91 | | - # cosmic-workspaces |
92 | | - "08568687-cosmic-workspaces/cosmic-workspaces-1.0.0~alpha.5.1%5Egit20250124.88b35e3-1.fc41.x86_64.rpm" |
93 | | - |
94 | | - # pop-launcher |
95 | | - "08529530-pop-launcher/pop-launcher-1.2.3%5Egit20250117.d458992-1.fc41.x86_64.rpm" |
96 | | - |
97 | | - # xdg-desktop-portal-cosmic |
98 | | - "08561064-xdg-desktop-portal-cosmic/xdg-desktop-portal-cosmic-1.0.0~alpha.5.1%5Egit20250122.e76630c-1.fc41.x86_64.rpm") |
| 21 | +echo "Generating list of RPM files..." |
| 22 | +FILES=($(/tmp/copr2url /usr/share/cosmic-repos.ini)) |
99 | 23 |
|
100 | 24 | echo "Downloading RPM files..." |
101 | 25 | for file in "${FILES[@]}"; do |
102 | | - wget "${BASE_URL}/${file}" -P ./rpm_files |
| 26 | + wget "${file}" -P ./rpm_files |
103 | 27 | done |
104 | 28 |
|
105 | 29 | echo "Installing required tools and dependencies..." |
|
0 commit comments