OSDN Git Service

bluemanとfirefoxの削除、インストールするコマンドを追加
authorhayao <shun819.mail@gmail.com>
Sun, 21 Apr 2019 01:54:48 +0000 (10:54 +0900)
committerhayao <shun819.mail@gmail.com>
Sun, 21 Apr 2019 01:54:48 +0000 (10:54 +0900)
scripts/bluemaninstall.sh [new file with mode: 0644]
scripts/bluemanuninstall.sh [new file with mode: 0644]
scripts/firefoxinstall.sh [new file with mode: 0644]
scripts/firefoxuninstall.sh [new file with mode: 0644]

diff --git a/scripts/bluemaninstall.sh b/scripts/bluemaninstall.sh
new file mode 100644 (file)
index 0000000..c30b2b8
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [[ ! $UID = 0 ]];
+    exit 1
+fi
+
+apt-get -y update
+apt-get -y install blueman
\ No newline at end of file
diff --git a/scripts/bluemanuninstall.sh b/scripts/bluemanuninstall.sh
new file mode 100644 (file)
index 0000000..9b5d845
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [[ ! $UID = 0 ]];
+    exit 1
+fi
+
+apt-get -y purge blueman
+apt-get -y autoremove
\ No newline at end of file
diff --git a/scripts/firefoxinstall.sh b/scripts/firefoxinstall.sh
new file mode 100644 (file)
index 0000000..6f7f0fb
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [[ ! $UID = 0 ]];
+    exit 1
+fi
+
+apt-get -y update
+apt-get -y install firefox
\ No newline at end of file
diff --git a/scripts/firefoxuninstall.sh b/scripts/firefoxuninstall.sh
new file mode 100644 (file)
index 0000000..f794d5d
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if [[ ! $UID = 0 ]];
+    exit 1
+fi
+
+apt-get -y purge firefox
+apt-get -y autoremove
\ No newline at end of file