Codebase list rust-libslirp / 07c47c7
Revert unintentional changes to build.sh and dev/list-rdeps.sh This reverts parts of commit 30c39d24f2f006c56b26c0e3fd3517e09eedd9ee. Sebastian Ramacher 1 year, 8 months ago
2 changed file(s) with 12 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
9191 # extract old tarball into new directory, to avoid "modified files" problems with dpkg-source later
9292 ( cd "$PKGNAME" && dpkg-source --after-build . && tar --strip-components=1 -xf "../${DEBSRC}_${UPSVER}.orig.tar.gz" )
9393 fi
94 ( cd "$PKGNAME" && dpkg-buildpackage -d -S --no-sign -nc )
94 ( cd "$PKGNAME" && dpkg-buildpackage -d -S --no-sign )
9595 # sign if not UNRELEASED
9696 if echo "$DEBDIST" | grep -qv UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; then
9797 debsign ${DEBSIGN_KEYID:+-k $DEBSIGN_KEYID} "${SRCNAME}_source.changes"
2121 grep '^deb[^#]*://[^#[:space:]]*[[:space:]]*'"$@"
2222 }
2323
24 # if ! grep_sources_entry "$ARCHIVE" -qR /etc/apt/sources.list /etc/apt/sources.list.d/ || \
25 # ! grep_sources_entry "$ARCHIVT" -qR /etc/apt/sources.list /etc/apt/sources.list.d/; then
26 # cat <<-eof
27 # To make this script work, you will need Debian Testing *AND* Debian Unstable
28 # in your sources.list. If you want your system to prefer Debian Testing, be
29 # sure to also add these lines to your /etc/apt/apt.conf:
24 if ! grep_sources_entry "$ARCHIVE" -qR /etc/apt/sources.list /etc/apt/sources.list.d/ || \
25 ! grep_sources_entry "$ARCHIVT" -qR /etc/apt/sources.list /etc/apt/sources.list.d/; then
26 cat <<-eof
27 To make this script work, you will need Debian Testing *AND* Debian Unstable
28 in your sources.list. If you want your system to prefer Debian Testing, be
29 sure to also add these lines to your /etc/apt/apt.conf:
3030
31 # APT::Default-Release "$ARCHIVT";
31 APT::Default-Release "$ARCHIVT";
3232
33 # After these changes, make sure to re-run \`apt-get update\`.
34 # eof
35 # exit 1
36 # fi
33 After these changes, make sure to re-run \`apt-get update\`.
34 eof
35 exit 1
36 fi
3737
3838 if [ $(($(date +%s) - $(stat -c %Y /var/cache/apt/pkgcache.bin))) -gt 7200 ]; then
3939 read -p "APT cache is a bit old, update? [Y/n] " x