This commit is contained in:
milisbir 2018-01-28 18:20:44 +02:00
parent 3aad23183b
commit 343acf3f7f
2 changed files with 18 additions and 19 deletions

View File

@ -3002,7 +3002,6 @@ ayarlar() {
-devk)
if [ ! "$2" ]; then
ryaz 31 "paket ismi eksik"
hataloglama "(kirma) paket ismi eksik"
exit 1
fi
devir_kontrol_durum "$2"

View File

@ -42,7 +42,7 @@ while : ; do
-h | --help )
echo "Usage: $0 [OPTIONS] [--]"
echo
echo "Broken reverse dependency checker."
echo "Sistemdeki ters gereklerin kırık kontrolü."
echo
echo
echo " --force remove old revdep-rebuild files"
@ -117,7 +117,7 @@ if $SEARCH_BROKEN ; then
LLIST=$LIST
HEAD_TEXT="broken by any package update"
OK_TEXT="Dynamic linking on your system is consistent"
WORKING_TEXT=" consistency"
WORKING_TEXT=" tutarlılık modu"
else
SONAME_SEARCH=" $SONAME "
LLIST=${LIST}_$(echo "$SONAME_SEARCH$SONAME" | md5sum | head -c 8)
@ -127,12 +127,12 @@ else
fi
echo
echo "Checking reverse dependencies..."
echo "Ters bağımlılıklar kontrol ediliyor..."
echo
echo -n -e "${GR}Collecting system binaries and libraries...${NO}"
echo -n -e "${GR}Sistemdeki ikili ve kütüphane dosyaları toplanıyor...${NO}"
if [ -f $LIST.1_files ] ; then
echo " using existing $LIST.1_files."
echo "var olan $LIST.1_files dosyası kullanılacak"
else
set_trap "$LIST.1_files"
EXCLUDED_DIRS=
@ -140,14 +140,14 @@ else
EXCLUDED_DIRS+="-path $d -prune -o "
done
find $SEARCH_DIRS $EXCLUDED_DIRS -type f \( -perm /+u+x -o -name '*.so' -o -name '*.so.*' \) 2>/dev/null >$LIST.1_files
echo -e " done.\n ($LIST.1_files)"
echo -e " tamamlandı.\n ($LIST.1_files)"
fi
if $SEARCH_BROKEN ; then
echo
echo -n -e "${GR}Collecting complete LD_LIBRARY_PATH...${NO}"
echo -n -e "${GR}Toplama tamamlandı LD_LIBRARY_PATH...${NO}"
if [ -f $LIST.2_ldpath ] ; then
echo " using existing $LIST.2_ldpath."
echo " var olan $LIST.2_ldpath dosyası kullanılacak."
else
set_trap "$LIST.2_ldpath"
(
@ -155,15 +155,15 @@ if $SEARCH_BROKEN ; then
sed '/^#/d;s/#.*$//' </etc/ld.so.conf
) | sort -u |
tr '\n' : | tr -d '\r' | sed 's/:$//' >$LIST.2_ldpath
echo -e " done.\n ($LIST.2_ldpath)"
echo -e " tamamlandı.\n ($LIST.2_ldpath)"
fi
export COMPLETE_LD_LIBRARY_PATH="$(cat $LIST.2_ldpath)"
fi
echo
echo -n -e "${GR}Checking dynamic linking$WORKING_TEXT...${NO}"
echo -n -e "${GR}Dinamik bağlamlar kontrol ediliyor$WORKING_TEXT...${NO}"
if [ -f $LLIST.3_rebuild ] ; then
echo " using existing $LLIST.3_rebuild."
echo " var olan $LLIST.3_rebuild dosyası kullanılıyor"
else
echo_v
set_trap "$LLIST.3_rebuild"
@ -179,21 +179,21 @@ else
ldd "$FILE" 2>/dev/null | grep -v "$LD_MASK" |
$SONAME_GREP -q "$SONAME_SEARCH" ; then
echo "$FILE" >>$LLIST.3_rebuild
echo_v " broken $FILE (requires $(ldd "$FILE" | sed -n 's/ \(.*\) => not found$/\1/p' | tr '\n' ' ' | sed 's/ $//' ))"
echo_v " kırık $FILE (gerekli $(ldd "$FILE" | sed -n 's/ \(.*\) => not found$/\1/p' | tr '\n' ' ' | sed 's/ $//' ))"
fi
else
echo "$FILE" >>$LLIST.3_rebuild
echo_v " found $FILE"
echo_v " $FILE bulundu"
fi
fi
done
echo -e " done.\n ($LLIST.3_rebuild)"
echo -e " tamamlandı.\n ($LLIST.3_rebuild)"
fi
echo
echo -n -e "${GR}Determining package names$WORKING_TEXT...${NO}"
echo -n -e "${GR}Paket isimleri tespit ediliyor$WORKING_TEXT...${NO}"
if [ -f $LLIST.4_names ] ; then
echo " using existing $LLIST.4_names."
echo " var olan $LLIST.4_names dosyası kullanılacak"
else
echo_v
set_trap "$LLIST.4_names"
@ -203,7 +203,7 @@ else
done
cat $LLIST.tmp | sort -d | uniq > $LLIST.4_names
rm -f $LLIST.tmp
echo -e " done.\n ($LIST.4_names)"
echo -e " tamamlandı.\n ($LIST.4_names)"
fi
echo "Yeniden derlenmesi gerekenler"