11 lines
299 B
Bash
Executable File
11 lines
299 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
. /usr/share/gitlab-ci-common
|
|
|
|
set -x
|
|
|
|
printf "\ndeb [allow-insecure=yes] https://$(dirname $1).pages.debian.net/$(basename $1) autobuilt main\n" \
|
|
>> /etc/apt/sources.list
|
|
|
|
sed -i 's,\(\$APT_GET_OPTIONS\),--allow-unauthenticated -t autobuilt \1,' /usr/share/gitlab-ci-common
|