summaryrefslogtreecommitdiff
path: root/app-admin/anaconda/files
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-08-11 23:03:54 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-08-11 23:03:54 +0300
commit81ffe666a8b6e9e45847220223984eda3eae7f5d (patch)
treee0407a87378930df544770ca5f361bf3c30af4c6 /app-admin/anaconda/files
parentfd87dbc4f45e2351a10e2c304b7a229d254e6304 (diff)
[anaconda*] Salutare batrane, sper ca nu-ti vom simti lipsa. Sters anaconda definitiv.
Diffstat (limited to 'app-admin/anaconda/files')
-rw-r--r--app-admin/anaconda/files/compat.py18
-rw-r--r--app-admin/anaconda/files/liveinst2
-rw-r--r--app-admin/anaconda/files/make_liveinst_update_package.sh24
3 files changed, 0 insertions, 44 deletions
diff --git a/app-admin/anaconda/files/compat.py b/app-admin/anaconda/files/compat.py
deleted file mode 100644
index b0bf65b5..00000000
--- a/app-admin/anaconda/files/compat.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# compatability aliases for python-selinux
-try:
- import selinux_aux
-
- enabled = selinux_aux.enabled
-
- get_lsid = selinux_aux.get_lsid
- get_sid = selinux_aux.get_sid
- set_sid = selinux_aux.set_sid
- secure_rename = selinux_aux.secure_rename
- secure_copy = selinux_aux.secure_copy
- secure_mkdir = selinux_aux.secure_mkdir
- secure_symlink = selinux_aux.secure_symlink
- setexec = selinux_aux.setexec
- getcontext = selinux_aux.getcontext
-
-except:
- pass
diff --git a/app-admin/anaconda/files/liveinst b/app-admin/anaconda/files/liveinst
deleted file mode 100644
index 986da86f..00000000
--- a/app-admin/anaconda/files/liveinst
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-sudo -E /usr/sbin/liveinst $@
diff --git a/app-admin/anaconda/files/make_liveinst_update_package.sh b/app-admin/anaconda/files/make_liveinst_update_package.sh
deleted file mode 100644
index 466408cc..00000000
--- a/app-admin/anaconda/files/make_liveinst_update_package.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-if [ -z "${1}" ]; then
- echo "syntax ${0} <ebuild>"
- exit 1
-fi
-eb="${1}"
-eb_name=$(basename "${eb}")
-tbz2_name="${eb_name/.ebuild/.tbz2}"
-tar_file="py${eb_name/.ebuild}.tar.bz2"
-current_dir="${PWD}"
-
-ebuild "${eb}" clean package || exit 1
-tmp_dir="$(mktemp -d)"
-
-cp /usr/portage/packages/app-admin/"${tbz2_name}" "${tmp_dir}" || exit 1
-cd "${tmp_dir}" || exit 1
-tar xvf "${tbz2_name}" || exit 1
-
-( cd usr/lib*/python*/site-packages && tar cjf \
- "${current_dir}/${tar_file}" pyanaconda ) || exit 1
-( cd "${current_dir}" && md5sum "${tar_file}" > "${tar_file}.md5" ) || exit 1
-
-echo "created ${tar_file} and ${tar_file}.md5 in this directory"