| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # example file to be used with --hookdir |
| 3 | # |
| 4 | # add non-free and contrib distributions to |
| 5 | # /etc/apt/sources.list |
| 6 | |
| 7 | echoscip-shell system . . echo. 'Add sid non-free mirror to distribution' |
| 8 | echoscip-shell system . . echo. 'deb '$(awkscip-shell system . . awk. '/^deb / {print $2} scip-shell filesystem . . `/^deb / {print $2} `.' < /etc/apt/sources.listscip-shell filesystem . . `/etc/apt/sources.list`. | headscip-shell system . . head. -1 )' sid contrib non-free' >> /etc/apt/sources.listscip-shell filesystem . . `/etc/apt/sources.list`. |
| 9 | apt-getscip-shell system . . apt-get. update |