|
1 | 1 | #!/bin/bash
|
| 2 | +# The MIT License (MIT) |
| 3 | +# Copyright (c) 2014 Halit Alptekin, Fatih Erikli |
| 4 | +# |
| 5 | +# Permission is hereby granted, free of charge, to any person obtaining a copy |
| 6 | +# of this software and associated documentation files (the "Software"), to deal |
| 7 | +# in the Software without restriction, including without limitation the rights |
| 8 | +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 9 | +# copies of the Software, and to permit persons to whom the Software is |
| 10 | +# furnished to do so, subject to the following conditions: |
| 11 | +# |
| 12 | +# The above copyright notice and this permission notice shall be included in all |
| 13 | +# copies or substantial portions of the Software. |
| 14 | +# |
| 15 | +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 16 | +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 17 | +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 18 | +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
| 19 | +# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 20 | +# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE |
| 21 | +# OR OTHER DEALINGS IN THE SOFTWARE. |
2 | 22 |
|
3 | 23 | # Variables for apt-get package manager
|
4 | 24 | APT_INSTALL="sudo apt-get install --yes --quiet"
|
@@ -26,9 +46,11 @@ install_from(){
|
26 | 46 | update_system(){
|
27 | 47 | $APT_UPDATE
|
28 | 48 | }
|
| 49 | + |
29 | 50 | upgrade_system(){
|
30 | 51 | $APT_UPGRADE
|
31 | 52 | }
|
| 53 | + |
32 | 54 | force_system(){
|
33 | 55 | $APT_FORCE
|
34 | 56 | }
|
|
0 commit comments