aboutsummaryrefslogtreecommitdiffstats
path: root/resources/install/debian/postrm
diff options
context:
space:
mode:
authordamencho <damencho@jitsi.org>2016-06-30 23:39:21 -0500
committerdamencho <damencho@jitsi.org>2016-06-30 23:39:21 -0500
commit5d9f0844914bb00732b5cb82670b422230499ccb (patch)
tree5b2d740b60534144e2d53fc82ec46be4cf549471 /resources/install/debian/postrm
parent87db51656a500a85128e2eec00861d23d51b98cb (diff)
downloadjitsi-5d9f0844914bb00732b5cb82670b422230499ccb.zip
jitsi-5d9f0844914bb00732b5cb82670b422230499ccb.tar.gz
jitsi-5d9f0844914bb00732b5cb82670b422230499ccb.tar.bz2
Adds dependency to new keyring and new repo update.
Removes old handling of the repo and key.
Diffstat (limited to 'resources/install/debian/postrm')
-rw-r--r--resources/install/debian/postrm56
1 files changed, 0 insertions, 56 deletions
diff --git a/resources/install/debian/postrm b/resources/install/debian/postrm
deleted file mode 100644
index 66317be..0000000
--- a/resources/install/debian/postrm
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# Jitsi, the OpenSource Java VoIP and Instant Messaging client.
-#
-# Copyright @ 2015 Atlassian Pty Ltd
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# sources.list setting for Jitsi updates.
-REPOCONFIG="deb http://download.jitsi.org/deb unstable/"
-
-APT_CONFIG="`which apt-config 2> /dev/null`"
-
-# Parse apt configuration and return requested variable value.
-apt_config_val() {
- APTVAR="$1"
- if [ -x "$APT_CONFIG" ]; then
- "$APT_CONFIG" dump | sed -e "/^$APTVAR /"'!d' -e "s/^$APTVAR \"\(.*\)\".*/\1/"
- fi
-}
-
-# Set variables for the locations of the apt sources lists.
-find_apt_sources() {
- APTDIR=$(apt_config_val Dir)
- APTETC=$(apt_config_val 'Dir::Etc')
- APT_SOURCES="$APTDIR$APTETC$(apt_config_val 'Dir::Etc::sourcelist')"
- APT_SOURCESDIR="$APTDIR$APTETC$(apt_config_val 'Dir::Etc::sourceparts')"
-}
-
-# Remove our custom sources list file.
-# Returns:
-# 0 - successfully removed, or not configured
-# !0 - failed to remove
-clean_sources_lists() {
- if [ ! "$REPOCONFIG" ]; then
- return 0
- fi
-
- find_apt_sources
-
- rm -f "$APT_SOURCESDIR/jitsi.list"
-}
-
-# Remove any Jitsi repository added by the package.
-clean_sources_lists